view sources/targets/i686 @ 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 c3b5be048ba4
children 4927c8b8de1b
line wrap: on
line source

DESCRIPTION="Standard 32-bit x86 target, Pentium 3 or later."

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

CONSOLE=ttyS0

UCLIBC_CONFIG="
ARCH_HAS_MMU=y
TARGET_i386=y
CONFIG_PENTIUMIII=y
UCLIBC_HAS_FPU=y
"

LINUX_CONFIG="
CONFIG_MPENTIUMII=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-system-i386 -cpu pentium3 $(qemu_defaults "$@") \
    -net nic,model=e1000 -net user
}