summaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-22 12:06:37 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-22 12:07:34 -0500
commitec3f682d79a38b29ef51b7cdbc9fb9afbe2c9c63 (patch)
tree049febcf48b847f12b6bf6310ed9df48892a7ddb /target/arm
parentaaaf9c02b66182559dc42ccc983d73bf31644b9b (diff)
rework toolchain support for ARM.
Use --with-cpu for gcc to have optimized code for requested ARM cpus. Add some basic support for cortex-m3.
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 9ba6366e3..391afe6e4 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -28,6 +28,9 @@ endif
ifeq ($(ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9),y)
QEMU_ARGS+=-M vexpress-a9 -cpu cortex-a9 -net user -net nic,model=lan9118
endif
+ifeq ($(ADK_TARGET_QEMU_ARM_MODEL_STELLARIS_M3),y)
+QEMU_ARGS+=-M lm3s6965evb -cpu cortex-m3
+endif
ifeq ($(ADK_TARGET_QEMU_WITH_VIRTIO),y)
QEMU_ARGS+=-drive file=qemu-${ADK_TARGET_CPU_ARCH}.img,if=virtio,index=0 -net nic,model=virtio -net user
endif