view sources/targets/sh4/details @ 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.
author Mark Miller <mark@mirell.org>
date Mon, 06 Apr 2009 07:11:26 -0500
parents 243594326fb2
children
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

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

emulator_command()
{
  echo qemu-system-sh4 -M r2d $(qemu_defaults "$@") -serial null -serial stdio
#	-net nic,model=rtl8139 -net user
  echo
}