2008-10-16 06:56:57

by Prabhu Chawandi

[permalink] [raw]
Subject: CONFIG Symbol

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


2008-10-16 15:56:12

by Randy Dunlap

[permalink] [raw]
Subject: Re: CONFIG Symbol

On Thu, 16 Oct 2008, Prabhu Chawandi wrote:

> 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.

> 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.

> 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.

--
~Randy