view sources/targets/sh4/settings @ 979:88b354c0eee1

Tweak mercurial repo entry and add link to current snapshot.
author Rob Landley <rob@landley.net>
date Tue, 16 Feb 2010 06:57:14 -0600
parents b274eb556b50
children 4ead0bad4ad8
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 "$@") -serial null -serial stdio
}