changeset 1403:42698b9646c2

Add m68k back.
author Rob Landley <rob@landley.net>
date Mon, 27 Jun 2011 07:36:56 -0500
parents 90f0a771a736
children f24c0deeed24
files sources/targets/m68k
diffstat 1 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/targets/m68k	Mon Jun 27 07:36:56 2011 -0500
@@ -0,0 +1,34 @@
+DESCRIPTION="
+Motorola 68000.
+
+This builds, but qemu can't run it yet.  (The qemu m68k support is actually
+only coldfire, an mmu-less subset of the m68k instruction set.)
+
+The aranym emulator might be able to run this (with a different kernel
+configuration) but that emulator doesn't support serial consoles.
+"
+
+KARCH=m68k
+KERNEL_PATH=vmlinux
+GCC_FLAGS= # "--with-float=soft"
+BINUTILS_FLAGS=
+QEMU_TEST= #$KARCH
+
+ROOT=sda
+CONSOLE=ttyAMA0
+
+UCLIBC_CONFIG="
+TARGET_m68k=y
+UCLIBC_HAS_FPU=y
+"
+
+LINUX_CONFIG="
+CONFIG_RTC_DRV_M48T59=y
+"
+
+emulator_command()
+{
+#  echo qemu-system-arm -M versatilepb $(qemu_defaults "$@") \
+#    -net nic,model=rtl8139 -net user
+  echo
+}