make ARCH=sparc allmodconfig => 64BIT=y
After the patch that added a 64BIT menu I cannot generate a 32 bit allmodconfig.
I have not yet deeply looked at it but I assume this is because "64 bit" is a visible menu when we have arch equa sparc and then allmodconfig set it to the highest value (=y).
x86 does this a bit different:
i386 => 32 bitx86_64 => 64 bit
x86 => 64 bit (IIRC)
But we do not want three arch options for sparc so maybe we just have to live with that
make ARCH=sparc allmodconfig
results in a 64 bit kernel.
What I do locally is that I created a file:
echo "CONFIG_64BIT=n" > 64bit
make ARCH=sparc allmodconfig KCONFIG_ALLCONFIGdbit
This gives me an allmodconfig for 32 bit.
Sam
From: Sam Ravnborg <[email protected]>
Date: Thu, 8 Jan 2009 20:50:57 +0100
Quoted 7 lines
After the patch that added a 64BIT menu I cannot generate a 32 bit allmodconfig.
I have not yet deeply looked at it but I assume this is because "64 bit" is a visible menu when we have arch equa sparc and then allmodconfig set it to the highest value (=y).
...
Quoted 6 lines
What I do locally is that I created a file:
echo "
CONFIG_64BIT=n" > 64bit
make ARCH=sparc allmodconfigKCONFIG_ALLCONFIGdbitThis gives me an allmodconfig for 32 bit.
This is pretty crummy behavior.
I don't think people should need to know this clever trick just to get an allmodconfig 32-bit kernel. Is every automated build tested going to do this? No way.
We might need to revert unless an easy fix can be found.