RFC [PATCH 2/9] Initial makefiles and Kconfigs for the lcp32xx mach

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Nov 21 04:34:07 EST 2009


On Sat, Nov 21, 2009 at 02:52:29PM +0530, Shilimkar, Santosh wrote:
> I think it does warn with some thing like
> warning: override: reassigning to symbol XXXXX

It's silent, because there are situations you do want to override other
symbols - eg, FRAME_POINTER.  This isn't a problem because the ARM
Kconfigs don't get included into non-ARM builds.

However, all sub-architecture Kconfigs are included for all ARM Kconfig
runs, which means the contents of them can potentially be affected by
each other.  We need be disciplined and only have configuration options
defined at one level - if they are already defined in arch/arm/Kconfig,
then they should not be redefined in any arch/arm/*/Kconfig*.



More information about the linux-arm-kernel mailing list