view 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
line wrap: on
line source

DESCRIPTION="
The SuperH processor was created by Hitachi and is mostly local to Japan.
It's been used in things like the Sega Dreamcast and automobile onboard
computers.

There's a wiki about it at http://linux-sh.org.
"

KARCH=sh
KERNEL_PATH=arch/${KARCH}/boot/zImage
GCC_FLAGS= #"--with-cpu=m4-nofpu"
BINUTILS_FLAGS=
QEMU_TEST=$KARCH
CROSS_TARGET=sh-superh-linux

ROOT=sda
CONSOLE="ttySC0 noiotrap"

# Gentoo from Scratch
GFS_CHOST="sh4-gentoo-linux-uclibc"
GFS_ARCH="sh"

UCLIBC_CONFIG="
TARGET_sh=y
ARCH_WANTS_LITTLE_ENDIAN=y
UCLIBC_HAS_FPU=y
"

emulator_command()
{
  echo qemu-system-sh4 -M r2d $(qemu_defaults "$@") -nodefaults -serial null -serial stdio
}