From 73d04fe8e64e4ed27946982cb1e6fe1039db2180 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Oct 2009 21:35:38 +0000 Subject: 2009-10-01 Joel Sherrill * 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. --- make/ChangeLog | 6 ++++++ make/Makefile.am | 5 +++++ make/custom/arm1136jfs.cfg | 21 +++++++++++++++++++++ make/custom/arm1136js.cfg | 20 ++++++++++++++++++++ make/custom/arm7tdmi.cfg | 20 ++++++++++++++++++++ make/custom/arm920.cfg | 21 +++++++++++++++++++++ make/custom/armcortexa9.cfg | 21 +++++++++++++++++++++ 7 files changed, 114 insertions(+) create mode 100644 make/custom/arm1136jfs.cfg create mode 100644 make/custom/arm1136js.cfg create mode 100644 make/custom/arm7tdmi.cfg create mode 100644 make/custom/arm920.cfg create mode 100644 make/custom/armcortexa9.cfg 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 + + * 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 * 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 -- cgit v1.2.3