view sources/targets/sparc @ 1439:d2b121fc1567

Use the ext4 driver for ext3 and ext2 filesystems.
author Rob Landley <rob@landley.net>
date Sat, 10 Sep 2011 08:03:10 -0500
parents 0b1022dc9a36
children c1d26568dbb8
line wrap: on
line source

DESCRIPTION="
32-bit sparc

Sparc was a risc processor design Sun Microsystems came up with to replace
m68k in their Unix workstations.  With the advent of OpenSolaris and
x86-64, Fujitsu mainframes may now use more of it than they do.

This has been broken for a couple years, and nobody's bothered to fix it.
"

# Originally contributed by Bertl.

KARCH=sparc
KERNEL_PATH=arch/${KARCH}/boot/image
BINUTILS_FLAGS=
GCC_FLAGS=
QEMU_TEST=$KARCH

BUILD_STATIC=all

ROOT=sda
CONSOLE=ttyS0

UCLIBC_CONFIG="
TARGET_sparc=y
UCLIBC_HAS_FPU=y
FORCE_SHAREABLE_TEXT_SEGMENTS=y
"

LINUX_CONFIG="
CONFIG_SCSI_SUNESP=y
CONFIG_SUNLANCE=y
CONFIG_SERIAL_SUNZILOG=y
CONFIG_SERIAL_SUNZILOG_CONSOLE=y
CONFIG_SUN_MOSTEK_RTC=y
"

#CONFIG_UNWIND_INFO
#CONFIG_FORCED_INLINING
#CONFIG_RTC_HCTOSYS

emulator_command()
{
  echo qemu-system-sparc $(qemu_defaults "$@")
}