summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg
diff options
context:
space:
mode:
authorAlan Cudmore <alan.cudmore@gmail.com>2013-03-23 19:13:07 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-03-24 12:57:44 +0100
commitc32b1efa43e31bd9a8a7eae3623664d00c34d842 (patch)
treee301796d2fb132b0fab24c752072cc2a7ba6e074 /c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg
parentlibfs: Always use geteuid() and getegid() (diff)
downloadrtems-c32b1efa43e31bd9a8a7eae3623664d00c34d842.tar.bz2
bsp/raspberrypi: New BSP
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg')
-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
+