annotate sources/configs/i686 @ 211:4fb558215f85

Switch to 2.6.23-rc5 and make some platforms actually work with it. (Need to tweak the configs on the rest too, I expect, but in different ways.)
author Rob Landley <rob@landley.net>
date Wed, 05 Sep 2007 22:07:52 -0500
parents ce1ca3d0f95b
children d2311b2989aa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
1 KARCH=i386
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
2 KERNEL_PATH=arch/${KARCH}/boot/bzImage
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
3 BINUTILS_FLAGS=
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
4 GCC_FLAGS=
80
92dd34025932 Teach the cross compiler to only build the qemu targets currently needed,
Rob Landley <rob@landley.net>
parents: 76
diff changeset
5 QEMU_TEST=$KARCH
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
6
155
ce1ca3d0f95b Put zImage-$ARCH in build directory, not mini-native-$ARCH, and eliminate
Rob Landley <rob@landley.net>
parents: 131
diff changeset
7 emulator_command()
110
62f6268ff61b Build uClibc's readelf and ldd by hand to work around inadequate cross-compile
Rob Landley <rob@landley.net>
parents: 91
diff changeset
8 {
155
ce1ca3d0f95b Put zImage-$ARCH in build directory, not mini-native-$ARCH, and eliminate
Rob Landley <rob@landley.net>
parents: 131
diff changeset
9 echo qemu -nographic -hda "$1" -kernel "$2" -append "'$3 root=/dev/hda console=ttyS0'"
110
62f6268ff61b Build uClibc's readelf and ldd by hand to work around inadequate cross-compile
Rob Landley <rob@landley.net>
parents: 91
diff changeset
10 }
62f6268ff61b Build uClibc's readelf and ldd by hand to work around inadequate cross-compile
Rob Landley <rob@landley.net>
parents: 91
diff changeset
11
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
12 # Write out uClibc .config file.
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
13
131
2916a56bacd1 Move uClibc to miniconfig.
Rob Landley <rob@landley.net>
parents: 130
diff changeset
14 cat > "${WORK}"/miniconfig-uClibc << 'EOF'
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
15 TARGET_i386=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
16 CONFIG_PENTIUMII=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
17 ARCH_USE_MMU=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
18 UCLIBC_HAS_FLOATS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
19 UCLIBC_HAS_FPU=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
20 KERNEL_HEADERS="/usr/src/linux/include"
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
21 DOPIC=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
22 HAVE_SHARED=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
23 LDSO_LDD_SUPPORT=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
24 LDSO_CACHE_SUPPORT=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
25 UCLIBC_STATIC_LDCONFIG=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
26 LDSO_RUNPATH=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
27 UCLIBC_CTOR_DTOR=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
28 UCLIBC_HAS_THREADS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
29 LINUXTHREADS_OLD=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
30 UCLIBC_HAS_LFS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
31 MALLOC_GLIBC_COMPAT=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
32 UCLIBC_DYNAMIC_ATEXIT=y
76
5703436a408e Update the uClibc snapshot and make config changes it needs.
Rob Landley <rob@landley.net>
parents: 59
diff changeset
33 UCLIBC_SUSV3_LEGACY=y
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
34 UCLIBC_HAS_SHADOW=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
35 UCLIBC_HAS___PROGNAME=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
36 UNIX98PTY_ONLY=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
37 ASSUME_DEVPTS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
38 UCLIBC_HAS_TM_EXTENSIONS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
39 UCLIBC_HAS_TZ_CACHING=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
40 UCLIBC_HAS_TZ_FILE=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
41 UCLIBC_HAS_TZ_FILE_READ_MANY=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
42 UCLIBC_HAS_RPC=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
43 UCLIBC_HAS_STRING_GENERIC_OPT=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
44 UCLIBC_HAS_STRING_ARCH_OPT=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
45 UCLIBC_HAS_CTYPE_TABLES=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
46 UCLIBC_HAS_CTYPE_SIGNED=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
47 UCLIBC_HAS_STDIO_GETC_MACRO=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
48 UCLIBC_HAS_STDIO_PUTC_MACRO=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
49 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
50 UCLIBC_HAS_ERRNO_MESSAGES=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
51 UCLIBC_HAS_SIGNUM_MESSAGES=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
52 UCLIBC_HAS_GNU_GETOPT=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
53 UCLIBC_HAS_GNU_GETSUBOPT=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
54 UCLIBC_HAS_REGEX=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
55 UCLIBC_HAS_REGEX_OLD=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
56 UCLIBC_HAS_FNMATCH=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
57 UCLIBC_HAS_FNMATCH_OLD=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
58 UCLIBC_HAS_GLOB=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
59 UCLIBC_HAS_GNU_GLOB=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
60 UCLIBC_BUILD_RELRO=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
61 UCLIBC_BUILD_NOEXECSTACK=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
62 DOSTRIP=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
63 EOF
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
64
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
65 # Write out Linux kernel .config file
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
66
85
7c874da5505c Switch config-linux to miniconfig-linux. Adjust the build and config scripts,
Rob Landley <rob@landley.net>
parents: 80
diff changeset
67 cat > "${WORK}"/miniconfig-linux << 'EOF'
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
68 CONFIG_SWAP=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
69 CONFIG_SYSVIPC=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
70 CONFIG_IKCONFIG=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
71 CONFIG_IKCONFIG_PROC=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
72 CONFIG_KALLSYMS_EXTRA_PASS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
73 CONFIG_IOSCHED_AS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
74 CONFIG_IOSCHED_DEADLINE=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
75 CONFIG_IOSCHED_CFQ=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
76 CONFIG_DEFAULT_AS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
77 CONFIG_MPENTIUMII=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
78 CONFIG_REGPARM=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
79 CONFIG_COMPAT_VDSO=y
91
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
80 CONFIG_ACPI=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
81 CONFIG_PCI=y
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
82 CONFIG_BINFMT_ELF=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
83 CONFIG_NET=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
84 CONFIG_PACKET=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
85 CONFIG_PACKET_MMAP=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
86 CONFIG_UNIX=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
87 CONFIG_INET=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
88 CONFIG_PREVENT_FIRMWARE_BUILD=y
211
4fb558215f85 Switch to 2.6.23-rc5 and make some platforms actually work with it. (Need
Rob Landley <rob@landley.net>
parents: 155
diff changeset
89 CONFIG_BLK_DEV=y
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
90 CONFIG_BLK_DEV_LOOP=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
91 CONFIG_BLK_DEV_INITRD=y
91
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
92 CONFIG_IDE=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
93 CONFIG_BLK_DEV_IDE=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
94 CONFIG_BLK_DEV_IDEDISK=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
95 CONFIG_IDE_GENERIC=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
96 CONFIG_BLK_DEV_IDEPCI=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
97 CONFIG_IDEPCI_SHARE_IRQ=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
98 CONFIG_BLK_DEV_GENERIC=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
99 CONFIG_BLK_DEV_IDEDMA_PCI=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
100 CONFIG_IDEDMA_PCI_AUTO=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
101 CONFIG_BLK_DEV_PIIX=y
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
102 CONFIG_NETDEVICES=y
91
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
103 CONFIG_NET_ETHERNET=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
104 CONFIG_NET_PCI=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
105 CONFIG_NE2K_PCI=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
106 CONFIG_SERIAL_8250=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
107 CONFIG_SERIAL_8250_CONSOLE=y
15644c053f03 Slightly more sane kernel config, with ide support and such. (Things booting
Rob Landley <rob@landley.net>
parents: 85
diff changeset
108 CONFIG_RTC=y
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
109 CONFIG_EXT2_FS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
110 CONFIG_EXT3_FS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
111 CONFIG_TMPFS=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
112 CONFIG_ENABLE_MUST_CHECK=y
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
113 CONFIG_MAGIC_SYSRQ=y
130
527938a80642 Add squashfs back in, 4.1.2 seems to work. Based on
Rob Landley <rob@landley.net>
parents: 117
diff changeset
114 CONFIG_SQUASHFS=y
59
18c065749b79 Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff changeset
115 EOF