summaryrefslogtreecommitdiffstats
path: root/make
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
parent3926b0550e1c8f0e6ead58bae6fd23b64aa8d369 (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')
-rw-r--r--make/ChangeLog6
-rw-r--r--make/Makefile.am5
-rw-r--r--make/custom/arm1136jfs.cfg21
-rw-r--r--make/custom/arm1136js.cfg20
-rw-r--r--make/custom/arm7tdmi.cfg20
-rw-r--r--make/custom/arm920.cfg21
-rw-r--r--make/custom/armcortexa9.cfg21
7 files changed, 114 insertions, 0 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index 1694eed1fe..10733ea933 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add qemuppc.cfg.
diff --git a/make/Makefile.am b/make/Makefile.am
index 695799b097..9aee11e709 100644
--- a/make/Makefile.am
+++ b/make/Makefile.am
@@ -20,6 +20,11 @@ rtems_make_customdir = $(rtems_makedir)/custom
dist_rtems_make_custom_DATA = custom/default.cfg
+EXTRA_DIST += custom/arm1136jfs.cfg
+EXTRA_DIST += custom/arm1136js.cfg
+EXTRA_DIST += custom/arm7tdmi.cfg
+EXTRA_DIST += custom/arm920.cfg
+EXTRA_DIST += custom/armcortexa9.cfg
EXTRA_DIST += custom/av5282.cfg
EXTRA_DIST += custom/avrtest.cfg
EXTRA_DIST += custom/bare.cfg
diff --git a/make/custom/arm1136jfs.cfg b/make/custom/arm1136jfs.cfg
new file mode 100644
index 0000000000..8efdf42b5f
--- /dev/null
+++ b/make/custom/arm1136jfs.cfg
@@ -0,0 +1,21 @@
+#
+# Config file for GDB ARM Simulator as arm1136jf-s (FPU)
+#
+# $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=arm1136jf-s
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/make/custom/arm1136js.cfg b/make/custom/arm1136js.cfg
new file mode 100644
index 0000000000..d610d08866
--- /dev/null
+++ b/make/custom/arm1136js.cfg
@@ -0,0 +1,20 @@
+#
+# Config file for GDB ARM Simulator as arm1136j-s (no FPU)
+#
+# $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=arm1136j-s
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
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
diff --git a/make/custom/arm920.cfg b/make/custom/arm920.cfg
new file mode 100644
index 0000000000..d75d9e7ab2
--- /dev/null
+++ b/make/custom/arm920.cfg
@@ -0,0 +1,21 @@
+#
+# Config file for GDB ARM Simulator as arm920
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=arm
+RTEMS_CPU_MODEL=arm920
+
+# 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=arm920
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
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