Mercurial > hg > aboriginal
annotate sources/configs/powerpc @ 155:ce1ca3d0f95b 0.2.1
Put zImage-$ARCH in build directory, not mini-native-$ARCH, and eliminate
run-mini-native.sh in favor of generating a run script per target.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 09 Apr 2007 12:09:40 -0400 |
parents | 14cb90f7fc07 |
children | 8d9bab8fcb3a |
rev | line source |
---|---|
140
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 KARCH=powerpc |
146 | 2 KERNEL_PATH=arch/${KARCH}/boot/zImage |
140
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 GCC_FLAGS= |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 BINUTILS_FLAGS= |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 QEMU_TEST= #ppc |
155
ce1ca3d0f95b
Put zImage-$ARCH in build directory, not mini-native-$ARCH, and eliminate
Rob Landley <rob@landley.net>
parents:
146
diff
changeset
|
6 emulator_command() |
140
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 { |
155
ce1ca3d0f95b
Put zImage-$ARCH in build directory, not mini-native-$ARCH, and eliminate
Rob Landley <rob@landley.net>
parents:
146
diff
changeset
|
8 echo qemu-system-ppc -M prep -nographic -hda "$1" \ |
ce1ca3d0f95b
Put zImage-$ARCH in build directory, not mini-native-$ARCH, and eliminate
Rob Landley <rob@landley.net>
parents:
146
diff
changeset
|
9 -kernel "$2" -append "'$3 root=/dev/hda console=/dev/ttyS0'" |
140
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 } |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 # Write out Linux kernel .config file |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 cat > "${WORK}"/miniconfig-linux << 'EOF' |
146 | 15 CONFIG_PPC_CHRP=y |
140
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
16 CONFIG_SWAP=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
17 CONFIG_IKCONFIG=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
18 CONFIG_IKCONFIG_PROC=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
19 CONFIG_LSF=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
20 CONFIG_BINFMT_ELF=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 CONFIG_PM=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
22 CONFIG_NET=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
23 CONFIG_PACKET=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
24 CONFIG_UNIX=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
25 CONFIG_INET=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
26 CONFIG_BLK_DEV_LOOP=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
27 CONFIG_IDE=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
28 CONFIG_BLK_DEV_IDE=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
29 CONFIG_BLK_DEV_IDEDISK=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
30 CONFIG_IDE_GENERIC=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
31 CONFIG_BLK_DEV_IDEPCI=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
32 CONFIG_BLK_DEV_GENERIC=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
33 CONFIG_NETDEVICES=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
34 CONFIG_NET_ETHERNET=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
35 CONFIG_NET_PCI=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
36 CONFIG_NE2K_PCI=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
37 CONFIG_SERIAL_8250=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
38 CONFIG_SERIAL_8250_CONSOLE=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
39 CONFIG_EXT2_FS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
40 CONFIG_EXT3_FS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
41 CONFIG_SQUASHFS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
42 EOF |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
43 |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
44 # Write out uClibc .config file. |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
45 cat > "${WORK}"/miniconfig-uClibc << 'EOF' |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
46 TARGET_powerpc=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
47 ARCH_USE_MMU=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
48 UCLIBC_HAS_FLOATS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
49 UCLIBC_HAS_FPU=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
50 DOPIC=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
51 HAVE_SHARED=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
52 LDSO_LDD_SUPPORT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
53 LDSO_CACHE_SUPPORT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
54 UCLIBC_STATIC_LDCONFIG=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
55 LDSO_RUNPATH=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
56 UCLIBC_CTOR_DTOR=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
57 UCLIBC_HAS_THREADS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
58 LINUXTHREADS_OLD=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
59 UCLIBC_HAS_LFS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
60 MALLOC_GLIBC_COMPAT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
61 UCLIBC_DYNAMIC_ATEXIT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
62 UCLIBC_SUSV3_LEGACY=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
63 UCLIBC_HAS_SHADOW=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
64 UCLIBC_HAS___PROGNAME=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
65 UNIX98PTY_ONLY=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
66 ASSUME_DEVPTS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
67 UCLIBC_HAS_TM_EXTENSIONS=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
68 UCLIBC_HAS_TZ_CACHING=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
69 UCLIBC_HAS_TZ_FILE=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
70 UCLIBC_HAS_TZ_FILE_READ_MANY=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
71 UCLIBC_HAS_RPC=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
72 UCLIBC_HAS_STRING_GENERIC_OPT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
73 UCLIBC_HAS_STRING_ARCH_OPT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
74 UCLIBC_HAS_CTYPE_TABLES=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
75 UCLIBC_HAS_CTYPE_SIGNED=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
76 UCLIBC_HAS_STDIO_GETC_MACRO=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
77 UCLIBC_HAS_STDIO_PUTC_MACRO=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
78 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
79 UCLIBC_HAS_ERRNO_MESSAGES=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
80 UCLIBC_HAS_SIGNUM_MESSAGES=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
81 UCLIBC_HAS_GNU_GETOPT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
82 UCLIBC_HAS_GNU_GETSUBOPT=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
83 UCLIBC_HAS_REGEX=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
84 UCLIBC_HAS_REGEX_OLD=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
85 UCLIBC_HAS_FNMATCH=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
86 UCLIBC_HAS_FNMATCH_OLD=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
87 UCLIBC_HAS_GLOB=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
88 UCLIBC_HAS_GNU_GLOB=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
89 UCLIBC_BUILD_RELRO=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
90 UCLIBC_BUILD_NOEXECSTACK=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
91 DOSTRIP=y |
6cfa6ad0d3ce
Add initial powerpc config. Doesn't currently work with qemu.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
92 EOF |