summaryrefslogtreecommitdiffstats
path: root/make/custom/score603e.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/score603e.cfg9
1 files changed, 1 insertions, 8 deletions
diff --git a/make/custom/score603e.cfg b/make/custom/score603e.cfg
index 6dba71d30e..249076286f 100644
--- a/make/custom/score603e.cfg
+++ b/make/custom/score603e.cfg
@@ -20,7 +20,7 @@ RTEMS_BSP_FAMILY=score603e
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS = -mcpu=603
+CPU_CFLAGS = -mcpu=603 -D_OLD_EXCEPTIONS -Dppc603e
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
@@ -28,13 +28,6 @@ CPU_CFLAGS = -mcpu=603
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
# CFLAGS_OPTIMIZE_V=-O0
-# The following is a linkcmds file which will work without using the
-# -specs system in gcc 2.8.
-# $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
-# -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
-# $(LD) $(XLDFLAGS) -Ttext 0x20000 \
-# -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
-
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS)