view sources/targets/sh4/settings @ 1165:4ead0bad4ad8

Make sh4 less unhappy.
author Rob Landley <rob@landley.net>
date Sat, 10 Jul 2010 23:39:36 -0500
parents b274eb556b50
children 5e22b534839a
line wrap: on
line source

KARCH=sh
KERNEL_PATH=arch/${KARCH}/boot/zImage
GCC_FLAGS="--enable-sjlj-exceptions" #"--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
}