view sources/targets/i486 @ 1400:0b1022dc9a36

Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
author Rob Landley <rob@landley.net>
date Sun, 26 Jun 2011 20:09:37 -0500
parents ee9ee44835e9
children b499abdbcdfa
line wrap: on
line source

DESCRIPTION="
An i486 based computer.

Yes it's obsolete, but there are embedded processors that use it.  The
existance of an FPU is assumed, even though some i486s don't have one. 
This is simply coz i486s with no FPU are not of interest to me.  Someone
else can fix that if they care.

Produced and tested by David Seikel.
"

KARCH=i386
KERNEL_PATH=arch/${KARCH}/boot/bzImage
BINUTILS_FLAGS=
GCC_FLAGS=
QEMU_TEST=$KARCH

ROOT=hda
CONSOLE=ttyS0

# Gentoo from Scratch
GFS_CHOST="i486-gentoo-linux-uclibc"
GFS_ARCH="x86"

UCLIBC_CONFIG="
TARGET_i386=y
CONFIG_486=y
UCLIBC_HAS_FPU=y
"

LINUX_CONFIG="
CONFIG_M486=y
CONFIG_ACPI=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_NETDEV_1000=y
CONFIG_E1000=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
"

emulator_command()
{
  echo qemu -cpu 486 $(qemu_defaults "$@")
}