Re: KALLSYMS always enabled in 'make gconfig' on PS3 kernel
From: Randy Dunlap
Date: Sun Jan 18 2009 - 19:00:44 EST
Simon W Bock wrote:
> Hi All,
> this seems to be the most appropriate place to report it...
Yes, or linux-kbuild@xxxxxxxxxxxxxxx
> I try to compile a kernel on and for the PS3 using Geoff Levand's
> sources
> http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux.git;a=summary
> and did a 'make ps3_defconfig' before doing 'make gconfig'.
> Now I'd care much more for 300k less in kernel size than for full
> symbols in the OOPS, so I would like to deselect KALLSYMS and
> KALLSYMS_ALL. The latter is even suggested to disable in the help text.
> But whatever I do, those two are always selected. Even when I deselect
> them using vi, the next time I do a 'make gconfig' on the config-file
> they are on again.
First, this isn't gconfig-specific. xconfig or menuconfig should
have the same behavior. At least I see it in xconfig also.
> Is this done for some special reason? Or can they be turned off?
All 3 of the KALLSYMS kconfig symbols are under the kconfig menu
prompt: "Configure standard kernel features (for small systems)",
which is not enabled in ps3_defconfig AFAICT (unless Geoff's is
modified from that I can see/test in linux-next). All that you
need to do is enable that config symbol (called CONFIG_EMBEDDED)
and then you can modify the KALLSYMS config symbols.
HTH.
--
~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/