Mercurial > hg > aboriginal
annotate sources/configs/x86_64 @ 243:be703e9510bb
Added tag 0.3.0 for changeset c3d2fd8b45cf
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 02 Nov 2007 02:19:32 -0500 |
parents | 4fb558215f85 |
children | 06d1ce19f840 |
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=x86_64 |
80
92dd34025932
Teach the cross compiler to only build the qemu targets currently needed,
Rob Landley <rob@landley.net>
parents:
79
diff
changeset
|
2 KERNEL_PATH=arch/${KARCH}/boot/bzImage |
79 | 3 #GCC_FLAGS="-m64" |
59
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 BINUTILS_FLAGS="--enable-64-bit-bfd" |
80
92dd34025932
Teach the cross compiler to only build the qemu targets currently needed,
Rob Landley <rob@landley.net>
parents:
79
diff
changeset
|
5 QEMU_TEST= |
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:
133
diff
changeset
|
7 emulator_command() |
116
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
8 { |
155
ce1ca3d0f95b
Put zImage-$ARCH in build directory, not mini-native-$ARCH, and eliminate
Rob Landley <rob@landley.net>
parents:
133
diff
changeset
|
9 echo qemu-system-x86_64 -nographic -hda "$1" -kernel "$2" -append "'$3 root=/dev/hda console=ttyS0'" |
116
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
10 } |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
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 |
133
58eac6c80096
Write out the correct filename for miniconfig.
Rob Landley <rob@landley.net>
parents:
131
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_x86_64=y |
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
16 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
|
17 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
|
18 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
|
19 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
|
20 DOPIC=y |
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 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
|
22 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
|
23 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
|
24 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
|
25 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
|
26 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
|
27 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
|
28 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
|
29 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
|
30 UCLIBC_DYNAMIC_ATEXIT=y |
79 | 31 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
|
32 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
|
33 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
|
34 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
|
35 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
|
36 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
|
37 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
|
38 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
|
39 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
|
40 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
|
41 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
|
42 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
|
43 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
|
44 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
|
45 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
|
46 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
|
47 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
|
48 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
|
49 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
|
50 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
|
51 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
|
52 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
|
53 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
|
54 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
|
55 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
|
56 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
|
57 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
|
58 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
|
59 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
|
60 DOSTRIP=y |
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
61 EOF |
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
62 |
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
63 # 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
|
64 |
85
7c874da5505c
Switch config-linux to miniconfig-linux. Adjust the build and config scripts,
Rob Landley <rob@landley.net>
parents:
80
diff
changeset
|
65 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
|
66 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
|
67 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
|
68 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
|
69 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
|
70 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
|
71 CONFIG_REORDER=y |
116
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
72 CONFIG_PM=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
73 CONFIG_ACPI=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
74 CONFIG_ACPI_SLEEP=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
75 CONFIG_PCI=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
76 CONFIG_HT_IRQ=y |
59
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
77 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
|
78 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
|
79 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
|
80 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
|
81 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
|
82 CONFIG_INET=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
|
83 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
|
84 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
|
85 CONFIG_BLK_DEV_INITRD=y |
116
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
86 CONFIG_IDE=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
87 CONFIG_BLK_DEV_IDE=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
88 CONFIG_BLK_DEV_IDEDISK=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
89 CONFIG_IDE_GENERIC=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_NETDEVICES=y |
116
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
91 CONFIG_NET_ETHERNET=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
92 CONFIG_NET_PCI=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
93 CONFIG_NE2K_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
|
94 CONFIG_SERIO_SERPORT=y |
116
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
95 CONFIG_SERIAL_8250=y |
9ab75bd7bab8
New config and qemu invocation.
Rob Landley <rob@landley.net>
parents:
85
diff
changeset
|
96 CONFIG_SERIAL_8250_CONSOLE=y |
59
18c065749b79
Add i686 and x86_64 config files. (Might or might not work, dunno.)
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
97 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
|
98 CONFIG_TMPFS=y |
130
527938a80642
Add squashfs back in, 4.1.2 seems to work. Based on
Rob Landley <rob@landley.net>
parents:
116
diff
changeset
|
99 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
|
100 EOF |