summaryrefslogtreecommitdiffstats
path: root/make/custom/mcp750.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/mcp750.cfg')
-rw-r--r--make/custom/mcp750.cfg13
1 files changed, 1 insertions, 12 deletions
diff --git a/make/custom/mcp750.cfg b/make/custom/mcp750.cfg
index 9dfff20898..19f2be80ee 100644
--- a/make/custom/mcp750.cfg
+++ b/make/custom/mcp750.cfg
@@ -17,20 +17,9 @@ RTEMS_BSP_FAMILY=motorola_powerpc
#
CPU_CFLAGS = -mcpu=750 -Dmpc750
-# 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)