Mercurial > hg > aboriginal
annotate sources/targets/armv4l/settings @ 1152:2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 02 Jul 2010 23:38:31 -0500 |
parents | b274eb556b50 |
children | 0b53de0d6eec |
rev | line source |
---|---|
387
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 KARCH=arm |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 KERNEL_PATH=arch/${KARCH}/boot/zImage |
701
b4a9c0084f2f
Converted ARMV5L from OABI to EABI with VFP support. Added patches for uClibc and uClibc++ to deal with Unwind Exception handling, made uClibc++ pull in libgcc_eh for this as well, and disabled SJLJ exceptions for ARMV5L EABI, which is apparently required, so --enable-sjlj-exceptions was added to the details file for all the other arches. Also correct the GENTOO_CHOST variable for armeb.
Mark Miller <mark@mirell.org>
parents:
641
diff
changeset
|
3 GCC_FLAGS="--with-float=soft --enable-sjlj-exceptions" |
387
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 BINUTILS_FLAGS= |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 QEMU_TEST=$KARCH |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 ROOT=sda |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 CONSOLE=ttyAMA0 |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 |
641
243594326fb2
Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents:
387
diff
changeset
|
10 # Gentoo from Scratch |
243594326fb2
Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents:
387
diff
changeset
|
11 GFS_CHOST="armv4l-gentoo-linux-uclibc" |
243594326fb2
Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents:
387
diff
changeset
|
12 GFS_ARCH="arm" |
243594326fb2
Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents:
387
diff
changeset
|
13 |
871
b274eb556b50
Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents:
705
diff
changeset
|
14 UCLIBC_CONFIG=" |
b274eb556b50
Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents:
705
diff
changeset
|
15 TARGET_arm=y |
b274eb556b50
Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents:
705
diff
changeset
|
16 ARCH_WANTS_LITTLE_ENDIAN=y |
b274eb556b50
Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents:
705
diff
changeset
|
17 " |
b274eb556b50
Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents:
705
diff
changeset
|
18 |
1152
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
19 LINUX_CONFIG=" |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
20 # QEMU patch: http://www.mail-archive.com/qemu-devel@nongnu.org/msg19370.html |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
21 # QEMU option: -cpu arm920t |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
22 # CONFIG_CPU_ARM920T=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
23 # Until then, we need an armv5 CPU... |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
24 CONFIG_CPU_ARM926T=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
25 CONFIG_MMU=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
26 CONFIG_ARCH_VERSATILE_PB=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
27 CONFIG_MACH_VERSATILE_AB=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
28 CONFIG_ARM_THUMB=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
29 CONFIG_SERIAL_NONSTANDARD=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
30 CONFIG_SERIAL_AMBA_PL011=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
31 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
32 CONFIG_RTC_DRV_PL031=y |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
33 " |
2f39d1bfb2fd
Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents:
871
diff
changeset
|
34 |
387
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
35 emulator_command() |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
36 { |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
37 echo qemu-system-arm -M versatilepb $(qemu_defaults "$@") \ |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
38 -net nic,model=rtl8139 -net user |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
39 } |