module Config question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
In arch/i386/config.in , there is a line as follows
 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
 
This declares   CONFIG_BINFMT_MISC to have 3 possible values (y, m or n).
In fs/proc/root.c we have
 #if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE)
...
CONFIG_BINFMT_MISC_MODULE does not seem to be declared anywhere.
Is it automagically defined if CONFIG_BINFMT_MISC is set =m.?
 why cant we simply do
ifeq ($(CONFIG_BINFMT_MISC), m) ...
 
Can anyone clarify how CONFIG_BINFMT_MISC_MODULE comes into existence.
(or point me to literature..unless I missed it in Documentation/kbuild)
 
Thanks in advance. All help is appreciated.
vijay


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux