summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:07:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:07:57 +0000
commit295399eae72a90f08efce76f2785f612306aefca (patch)
tree8144e2b8520d7af800e4a320d9b0f855ae0c50e1
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-295399eae72a90f08efce76f2785f612306aefca.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/gp32.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/arm/gp32/ChangeLog4
-rw-r--r--c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg26
2 files changed, 30 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/gp32/ChangeLog b/c/src/lib/libbsp/arm/gp32/ChangeLog
index 552c8d91dd..6f20789651 100644
--- a/c/src/lib/libbsp/arm/gp32/ChangeLog
+++ b/c/src/lib/libbsp/arm/gp32/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/gp32.cfg: New (relocated from /make/custom).
+
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
diff --git a/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg b/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg
new file mode 100644
index 0000000000..bd5af4794d
--- /dev/null
+++ b/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg
@@ -0,0 +1,26 @@
+#
+# Config file for ARM GP32
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=arm
+RTEMS_CPU_MODEL=s3c2400
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=gp32
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -DCPU_S3C2400
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+
+define bsp-post-link
+ $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
+ $(default-bsp-post-link)
+endef