summaryrefslogtreecommitdiffstats
path: root/make/custom/armcortexa9.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/armcortexa9.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 '')
-rw-r--r--make/custom/armcortexa9.cfg21
1 files changed, 21 insertions, 0 deletions
diff --git a/make/custom/armcortexa9.cfg b/make/custom/armcortexa9.cfg
new file mode 100644
index 0000000000..f224133c0f
--- /dev/null
+++ b/make/custom/armcortexa9.cfg
@@ -0,0 +1,21 @@
+#
+# Config file for GDB ARM Simulator as cortex-a9
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=arm
+RTEMS_CPU_MODEL=arm1136
+
+# 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=arm920 -mstructure-size-boundary=8
+CPU_CFLAGS = -mcpu=cortex-a9
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g