Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] kernel cross compilation
Date: Sat, 27 Jun 2009 17:33:51
Message-Id: 20090627133348.711a0d01@osage.osagesoftware.com
1 My workstation is an AMD64 and I want to build a 486 kernel. I've
2 tried oldconfig, menuconfig, and xconfig and they all change
3 the .config from X86_32 to X86_64. How do I stop this behavior?
4
5 FWIW, below is a partial diff between the 486 .config and the new
6 config.
7
8 Thanks.
9
10 David
11
12
13 root@osage linux # diff -u .config.old .config
14 --- .config.old 2009-04-15 18:47:58.000000000 -0400
15 +++ .config 2009-06-27 13:26:53.000000000 -0400
16 @@ -1,18 +1,19 @@
17 #
18 # Automatically generated make config: don't edit
19 -# Linux kernel version: 2.6.27
20 -# Wed Apr 15 18:47:58 2009
21 +# Linux kernel version: 2.6.27.25
22 +# Sat Jun 27 13:26:53 2009
23 #
24 -# CONFIG_64BIT is not set
25 -CONFIG_X86_32=y
26 -# CONFIG_X86_64 is not set
27 +CONFIG_64BIT=y
28 +# CONFIG_X86_32 is not set
29 +CONFIG_X86_64=y
30 CONFIG_X86=y
31 -CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
32 +CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
33 # CONFIG_GENERIC_LOCKBREAK is not set
34 ...

Replies

Subject Author
Re: [gentoo-user] kernel cross compilation Dirk Heinrichs <dirk.heinrichs@××××××.de>