Re: CONFIG Symbol
From: Randy.Dunlap
Date: Thu Oct 16 2008 - 11:56:12 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/