Skip to contentSkip to conversation

CONFIG Symbol

DISCUSSION Prabhu Chawandi 2 participants 2 messages Oct 16, 2008

lore
Share & tools
lore
#0 lore raw

Hi All,

I have added a symobol in thr config file, freshely ... eg.
CONFIG_USB_SERIAL_CONSOLE

i.e. there was no symbol at all ... but in the source code a check is made for that symbol...

So I have added that symbol in the config file,,,
unfortunately I am not getting that flag value reflected,,,,

What I thought ,, Is there any other place where to identify this symbol...

as we export any symbol...

-- Thanks
Prabhu

#1 lore raw
Quoted 4 lines · Prabhu Chawandi

Hi All,

I have added a symobol in thr config file, freshely ... eg.
CONFIG_USB_SERIAL_CONSOLE

What kind of config file? Is it in a Kconfig* file? If so, then the CONFIG_ prefix is implicit and you should just use "USB_SERIAL_CONSOLE" as the symbol name.

Quoted 5 lines

i.e. there was no symbol at all ... but in the source code a check is made for that symbol...

So I have added that symbol in the config file,,,
unfortunately I am not getting that flag value reflected,,,,

Maybe now it's CONFIG_CONFIG_USB_SERIAL_CONSOLE.

Quoted 3 lines

What I thought ,, Is there any other place where to identify this symbol...

as we export any symbol...

Config symbols are produced as include/linux/autoconf.h at build time, so you can look at that file to see what was produced/generated.

Signature · 1 line
~Randy