[linux-yocto] [PATCH] configme : Match KARCH onto kernel.org arch
Megha Dey
megha.dey at intel.com
Tue Jan 5 14:12:07 PST 2016
When qemux86 is selected as MACHINE type, and a custom linux kernel
is built, yocto assumes KARCH to be x86. This leads to a 64 bit
config file getting generated instead of a 32 bit one. Hence, always
make KARCH as i386 when a 32 bit MACHINE type is selected.
Signed-off-by: Megha Dey <megha.dey at intel.com>
---
tools/configme | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/configme b/tools/configme
index 903b3c1..9651280 100755
--- a/tools/configme
+++ b/tools/configme
@@ -201,6 +201,9 @@ run_board_config()
if [ $KARCH == "mips64" ]; then
KARCH=mips
fi
+ if [ $KARCH == "x86" ]; then
+ KARCH=i386
+ fi
if [ -z "$BUILD_DIR" ]; then
echo No build dir specified. Use \"-o\" to specify one.
--
1.9.1
More information about the linux-yocto
mailing list