summaryrefslogtreecommitdiffstats
path: root/bsps/arm/beagle/config/beagle.inc
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/beagle/config/beagle.inc')
-rw-r--r--bsps/arm/beagle/config/beagle.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/bsps/arm/beagle/config/beagle.inc b/bsps/arm/beagle/config/beagle.inc
new file mode 100644
index 0000000000..45d1408ec0
--- /dev/null
+++ b/bsps/arm/beagle/config/beagle.inc
@@ -0,0 +1,15 @@
+#
+# Config file for BeagleBoard.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -mcpu=cortex-a8
+
+CFLAGS_OPTIMIZE_V ?= -O2 -g
+
+# Add CFLAGS and LDFLAGS for compiling and linking with per item sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections