view sources/targets/sparc @ 1728:b89324905ca2 draft

Giant redo to put simple-root-filesystem in initmpfs. NO_NATIVE_COMPILER and NO_ROOTDIRS went away, kernel built moved back into system-image.sh, old root-filesystem.sh and root-image.sh are no longer used, I need to fix up several things (chroot-splice.sh, the lfs-bootstrap build is breaking in mpfr, haven't tested this on all targets yet... but the basics are in.
author Rob Landley <rob@landley.net>
date Fri, 06 Feb 2015 01:51:54 -0600
parents 19a363f60409
children
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

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 -cpu '"Fujitsu MB86907"' $(qemu_defaults "$@")
}