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.
Attachment:
pgpS8AZ_th9ZB.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies