annotate sources/targets/sh4/settings @ 1371:6d0b8eacd14e

Merge description files into settings files as $DESCRIPTION entry.
author Rob Landley <rob@landley.net>
date Sat, 11 Jun 2011 22:43:24 -0500
parents 5e22b534839a
children 1c9463bfa378
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1371
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
1 DESCRIPTION="
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
2 The SuperH processor was created by Hitachi and is mostly local to Japan.
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
3 It's been used in things like the Sega Dreamcast and automobile onboard
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
4 computers.
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
5
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
6 There's a wiki about it at http://linux-sh.org.
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
7 "
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 1340
diff changeset
8
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 KARCH=sh
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 KERNEL_PATH=arch/${KARCH}/boot/zImage
1340
5e22b534839a Switch to from pthreads.old to NPTL.
Rob Landley <rob@landley.net>
parents: 1165
diff changeset
11 GCC_FLAGS= #"--with-cpu=m4-nofpu"
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
12 BINUTILS_FLAGS=
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 QEMU_TEST=$KARCH
592
a852232f3379 Switch from one sh4 that doesn't work to another sh4 that doesn't work. This one's based on the sh4 qemu defconfig.
Rob Landley <rob@landley.net>
parents: 387
diff changeset
14 CROSS_TARGET=sh-superh-linux
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
15
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
16 ROOT=sda
827
1093d3f26c5d Update sh4 for 2.6.31 kernel.
Rob Landley <rob@landley.net>
parents: 705
diff changeset
17 CONSOLE="ttySC0 noiotrap"
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
18
641
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 618
diff changeset
19 # Gentoo from Scratch
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 618
diff changeset
20 GFS_CHOST="sh4-gentoo-linux-uclibc"
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 618
diff changeset
21 GFS_ARCH="sh"
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 618
diff changeset
22
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: 827
diff changeset
23 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: 827
diff changeset
24 TARGET_sh=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: 827
diff changeset
25 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: 827
diff changeset
26 UCLIBC_HAS_FPU=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: 827
diff changeset
27 "
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: 827
diff changeset
28
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
29 emulator_command()
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
30 {
1165
4ead0bad4ad8 Make sh4 less unhappy.
Rob Landley <rob@landley.net>
parents: 871
diff changeset
31 echo qemu-system-sh4 -M r2d $(qemu_defaults "$@") -nodefaults -serial null -serial stdio
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
32 }