summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg')
-rw-r--r--c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg26
1 files changed, 26 insertions, 0 deletions
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