Re: Config Items appearing twice in same Kconfig file?
From: Michael Ellerman <hidden>
Date: 2010-05-13 01:08:49
Also in:
linux-alpha, linuxppc-dev
From: Michael Ellerman <hidden>
Date: 2010-05-13 01:08:49
Also in:
linux-alpha, linuxppc-dev
On Wed, 2010-05-12 at 16:40 +0200, Christoph Egger wrote:
Just noticed it might have been worth adding the output so everyone out there doesn't ned to grep through his tree for reference: % grep ^config **/Kconfig* | sort | uniq -dc
That didn't actually work for me?
2 arch/powerpc/Kconfig:config KERNEL_START
2 arch/powerpc/Kconfig:config PAGE_OFFSET
2 arch/powerpc/Kconfig:config PHYSICAL_START
2 arch/powerpc/Kconfig:config RELOCATABLEThe duplication of these is caused by the second definitions being inside an "if PPC64" block. For PAGE_OFFSET and KERNEL_START we want the 2nd definitions, the default value is different between 32 & 64 bit. For RELOCATABLE it's a little weird, but we want the 2nd definition because the depends condition is different between 32 & 64bit - though they could probably be merged. I don't really see why we need two versions of PHYSICAL_START. cheers