summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_32.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_32.cfg')
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_32.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_32.cfg b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_32.cfg
new file mode 100644
index 0000000000..c0ca412248
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_32.cfg
@@ -0,0 +1,15 @@
+# Config file for e6500 core based QorIQ chips, e.g. T2080, T4240
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = powerpc
+
+RTEMS_CPU_MODEL = qoriq
+
+CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \
+ -D__ppc_generic
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections