# HG changeset patch # User Rob Landley # Date 1313871364 18000 # Node ID 0c0072b5acc12849b4ea00a9246bc9ae1328f719 # Parent f5ba63db222d212312db19466a923a16007daf1e Fix ppc440. diff -r f5ba63db222d -r 0c0072b5acc1 sources/targets/powerpc-440fp --- a/sources/targets/powerpc-440fp Sat Aug 20 12:26:25 2011 -0500 +++ b/sources/targets/powerpc-440fp Sat Aug 20 15:16:04 2011 -0500 @@ -1,43 +1,10 @@ DESCRIPTION="Power PC 440, with hardware floating point." -KARCH=powerpc -KERNEL_PATH=vmlinux +base_architecture powerpc GCC_FLAGS="--with-cpu=440fp --with-tune=440fp ${GCC_FLAGS}" BINUTILS_FLAGS="--with-cpu=440fp --with-tune=440fp" -QEMU_TEST=ppc -ROOT=hda -CONSOLE=ttyS0 - -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 "$@") -} +# LINUX_CONFIG and emulator_command aren't correct, qemu should use -M bamboo +# and the kernel config should be a variant of 44x/bamboo_defconfig. +# Unfortunately that's hardwired to require an external project (uboot), and +# the vmlinux won't boot without a device tree binary. TODO item.