view sources/targets/powerpc-440fp/settings @ 1401:f1d2afdf2034

Add base_architecture, make base architectures and extra targets work, and move i586 virtio stuff to new i686-kvm target.
author Rob Landley <rob@landley.net>
date Mon, 27 Jun 2011 06:40:25 -0500
parents 609ef233c55e
children
line wrap: on
line source

DESCRIPTION="Power PC 440, with hardware floating point."

base_architecture powerpc

GCC_FLAGS="--with-cpu=440fp --with-tune=440fp ${GCC_FLAGS}"
BINUTILS_FLAGS="--with-cpu=440fp --with-tune=440fp"

UCLIBC_CONFIG="
TARGET_powerpc=y
UCLIBC_HAS_FPU=y
"

# This isn't correct, qemu should use -M bamboo and the kernel config
a variant of 44x/bamboo_defconfig, but building that wants uboot and
the vmlinux won't boot without a device tree binary.  TODO item.

LINUX_CONFIG="
CONFIG_ALTIVEC=y
CONFIG_PPC_PMAC=y
CONFIG_PPC_OF_BOOT_TRAMPOLINE=y
CONFIG_PPC601_SYNC_FIX=y
CONFIG_PROC_DEVICETREE=y
CONFIG_BLK_DEV_CMD64X=y
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_MACINTOSH_DRIVERS=y
CONFIG_ADB=y
CONFIG_ADB_CUDA=y
CONFIG_NE2K_PCI=y
CONFIG_SERIO=y
CONFIG_SERIAL_PMACZILOG=y
CONFIG_SERIAL_PMACZILOG_TTYS=y
CONFIG_SERIAL_PMACZILOG_CONSOLE=y
CONFIG_BOOTX_TEXT=y
"

emulator_command()
{
  echo qemu-system-ppc -M g3beige $(qemu_defaults "$@")
}