summaryrefslogtreecommitdiffstats
path: root/make/custom/mtx603e.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/mtx603e.cfg13
1 files changed, 1 insertions, 12 deletions
diff --git a/make/custom/mtx603e.cfg b/make/custom/mtx603e.cfg
index 460b572895..92da685114 100644
--- a/make/custom/mtx603e.cfg
+++ b/make/custom/mtx603e.cfg
@@ -16,20 +16,9 @@ RTEMS_BSP_FAMILY=motorola_powerpc
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e
-# optimize flag: typically -0, could use -O4 or -fast
-# -O4 is ok for RTEMS
-# NOTE2: some level of -O may be actually required by inline assembler (at least
-# -O2 so far.
-# NOTE2 Apparently nobody really knows the status or r2 and r13.
-# As far as I know, small data are pointer impose a very specific compliation
-# model => not used.
-# Currently the sdata2 and sbss2 sections are empty => r2 is not used...
+# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
-# debug flags: typically none, but at least -O1 is required due to this
-# BSP using inlined code
-CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
-
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)