summaryrefslogtreecommitdiffstats
path: root/make/custom/arm7tdmi.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-01 21:35:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-01 21:35:38 +0000
commit73d04fe8e64e4ed27946982cb1e6fe1039db2180 (patch)
treea453899e9ccc6386bfe703cecbd5ad00b8b1350a /make/custom/arm7tdmi.cfg
parent2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-73d04fe8e64e4ed27946982cb1e6fe1039db2180.tar.bz2
2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add new BSP variants for ARM simulator in GDB. * custom/arm1136jfs.cfg, custom/arm1136js.cfg, custom/arm7tdmi.cfg, custom/arm920.cfg, custom/armcortexa9.cfg: New files.
Diffstat (limited to 'make/custom/arm7tdmi.cfg')
-rw-r--r--make/custom/arm7tdmi.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/make/custom/arm7tdmi.cfg b/make/custom/arm7tdmi.cfg
new file mode 100644
index 0000000000..4a1c75141e
--- /dev/null
+++ b/make/custom/arm7tdmi.cfg
@@ -0,0 +1,20 @@
+#
+# Config file for GDB ARM Simulator as arm7tdmi
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=arm
+RTEMS_CPU_MODEL=arm7tdmi
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=gdbarmsim
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=arm7tdmi
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g