From c32b1efa43e31bd9a8a7eae3623664d00c34d842 Mon Sep 17 00:00:00 2001 From: Alan Cudmore Date: Sat, 23 Mar 2013 19:13:07 +0100 Subject: bsp/raspberrypi: New BSP --- .../arm/raspberrypi/make/custom/raspberrypi.cfg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg (limited to 'c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg') 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 + -- cgit v1.2.3