Kernel .config file overwritten
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Sat May 25 04:12:46 EDT 2013
On Sat, 25 May 2013 10:16:47 +0530, "Lakshmipathi.G" said:
> I wanted to compile my kernel from sources. I needed to add one line in
> .config file,
> because that option is not possible to change by 'make menuconfig'.
If menuconfig won't let you change it, there's several possibilities:
1) It's an "internal" config option that wsn't intended to be changed
directly (it's all done via SELECT and friends). This is indicated in
the Kconfig file by a lack of HELP text. If you're trying to change
one of these, stop and ask yourself *why* - such variables almost *never*
make sense to change by themselves - that's why they're inaccessible
and choosing something that requires the services will do a SELECT of
it to include it. You almost certainly intended to turn on something else
and let that variable's SELECT turn on the hidden config variable.
2) You're missing a pre-requisite that needs to be on. Go find it and
turn it on and try again. note that inside menuconfig, entering '/'
and then (part of) a config variable name will show you what it depends on,
and which menu it's in.
3) Simply editing the .config by hand is usually *not* a good idea unless
you know exactly what you're doing. As you noticed, the kbuild system will
do a 'make oldconfig' if you tried to do that - that is to make sure that
any DEPENDS and SELECTS are re-driven.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130525/3e8ec53a/attachment-0001.bin
More information about the Kernelnewbies
mailing list