summaryrefslogtreecommitdiffstats
path: root/make/custom/ppcn_60x.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/ppcn_60x.cfg')
-rw-r--r--make/custom/ppcn_60x.cfg14
1 files changed, 1 insertions, 13 deletions
diff --git a/make/custom/ppcn_60x.cfg b/make/custom/ppcn_60x.cfg
index b6bca171d0..828401f462 100644
--- a/make/custom/ppcn_60x.cfg
+++ b/make/custom/ppcn_60x.cfg
@@ -16,7 +16,7 @@ RTEMS_BSP_FAMILY=ppcn_60x
# 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
@@ -24,18 +24,6 @@ CPU_CFLAGS = -mcpu=603
CFLAGS_OPTIMIZE_V=-O0 -fno-keep-inline-functions -fvolatile-global -fvolatile
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -fvolatile-global -fvolatile
-# 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)
-
-# $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
-# -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
-# $(START_FILE) $(LINK_OBJS) \
-# $(LD_LIBS) \
-# -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)