view sources/targets/armv4eb @ 1403:42698b9646c2

Add m68k back.
author Rob Landley <rob@landley.net>
date Mon, 27 Jun 2011 07:36:56 -0500
parents 0b1022dc9a36
children b499abdbcdfa
line wrap: on
line source

DESCRIPTION="
ARM v4, big endian, soft float, OABI.

Although arm processors can work with either endianness, most ARM boards are
wired little endian, so building big endian arm is fairly uncommon.  The
ixp4xx, ixp2000, and ixp23xx Linux targets support big endian operation.
"

KARCH=arm
KERNEL_PATH=arch/${KARCH}/boot/zImage
GCC_FLAGS="--with-float=soft"
BINUTILS_FLAGS=
QEMU_TEST=$KARCH

ROOT=sda
CONSOLE=ttyAMA0

UCLIBC_CONFIG="TARGET_arm=y"

LINUX_CONFIG="
CONFIG_CPU_ARM926T=y
CONFIG_MMU=y
CONFIG_ARCH_VERSATILE_PB=y
CONFIG_MACH_VERSATILE_AB=y
CONFIG_CPU_ARM926T=y
CONFIG_ARM_THUMB=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_RTC_DRV_PL031=y
"

emulator_command()
{
  echo qemu-system-arm -M versatilepb $(qemu_defaults "$@") \
    -net nic,model=rtl8139 -net user
}

# Gentoo from Scratch
GFS_CHOST="armeb-softfloat-linux-uclibc"
GFS_ARCH="arm"