summaryrefslogtreecommitdiffstats
path: root/bsps/epiphany/epiphany_sim/config/epiphany_sim.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/epiphany/epiphany_sim/config/epiphany_sim.cfg')
-rw-r--r--bsps/epiphany/epiphany_sim/config/epiphany_sim.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/bsps/epiphany/epiphany_sim/config/epiphany_sim.cfg b/bsps/epiphany/epiphany_sim/config/epiphany_sim.cfg
new file mode 100644
index 0000000000..1fef6085d1
--- /dev/null
+++ b/bsps/epiphany/epiphany_sim/config/epiphany_sim.cfg
@@ -0,0 +1,10 @@
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = epiphany
+
+CPU_CFLAGS =
+
+CFLAGS_OPTIMIZE_V ?= -O0 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections