view sources/targets/sh2eb @ 1805:bbe71b3a271d draft

Upgrade toybox and musl versions.
author Rob Landley <rob@landley.net>
date Wed, 04 Nov 2015 00:14:29 -0600
parents 108f69f2c952
children
line wrap: on
line source

DESCRIPTION="
See se-instruments.com and http://linux-sh.org.
"

KARCH=sh
KERNEL_PATH=vmlinux
GCC_FLAGS=--enable-twoprocess #"--with-cpu=m4-nofpu"
BINUTILS_FLAGS=
QEMU_TEST=$KARCH

ELF2FLT=sh-unknown-linux
BUILD_STATIC=all

CONSOLE="ttyUL0 noiotrap"

NO_CPLUSPLUS=1
SYSIMAGE_TYPE=rootfs

UCLIBC_CONFIG="
TARGET_sh=y
CONFIG_SH2=y
LINUXTHREADS_OLD=y
"

LINUX_CONFIG="
CONFIG_0PF_FPGA=y
CONFIG_CPU_BIG_ENDIAN=y
CONFIG_CPU_SUBTYPE_0PF=y
CONFIG_CACHE_OFF=y

CONFIG_HZ_100=y
CONFIG_MEMORY_SIZE=0x8000000
CONFIG_MEMORY_START=0x10000000
CONFIG_SH_PCLK_FREQ=32000000

CONFIG_BINFMT_ELF_FDPIC=y
CONFIG_BINFMT_FLAT=y

CONFIG_DEVMEM=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_FLATMEM_MANUAL=y

CONFIG_CMDLINE_EXTEND=y
CONFIG_CMDLINE=\"console=$CONSOLE\"

CONFIG_SERIAL_UARTLITE=y
CONFIG_SERIAL_UARTLITE_0PF=y
CONFIG_SERIAL_UARTLITE_CONSOLE=y

CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_IOCHARSET=\"utf8\"
CONFIG_NLS_DEFAULT=\"utf8\"
CONFIG_NLS_UTF8=y
"

emulator_command()
{
  echo echo No emulator
}