summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/raspberrypi/make/custom
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/make/custom')
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg22
1 files changed, 22 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg
new file mode 100644
index 0000000000..9751658a6e
--- /dev/null
+++ b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg
@@ -0,0 +1,22 @@
+#
+# Config file for RASPBERRYPI
+#
+# $Id: $
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -mcpu=arm1176jzf-s
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+
+# This defines the operations performed on the linked executable.
+# is currently required.
+define bsp-post-link
+ $(OBJCOPY) -O binary --strip-all \
+ $(basename $@).exe $(basename $@)$(DOWNEXT)
+ $(SIZE) $(basename $@).exe
+endef
+