summaryrefslogtreecommitdiffstats
path: root/make/custom/mbx8xx.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/mbx8xx.cfg14
1 files changed, 1 insertions, 13 deletions
diff --git a/make/custom/mbx8xx.cfg b/make/custom/mbx8xx.cfg
index 33b82d206b..559ceacfc9 100644
--- a/make/custom/mbx8xx.cfg
+++ b/make/custom/mbx8xx.cfg
@@ -65,18 +65,10 @@ endif # mbx821
# MBX8xx-specific options:
#
-define make-target-options
- @echo "#ifdef mpc$(CPU_TYPE)" >>$@
- @echo "#undef mpc$(CPU_TYPE)" >>$@
- @echo "#endif" >>$@
- @echo "#define mpc$(CPU_TYPE) 1" >>$@
- @echo >>$@
-endef
-
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS = -mcpu=$(CPU_TYPE)
+CPU_CFLAGS = -mcpu=$(CPU_TYPE) -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL)
CFLAGS_DEBUG_V += -ggdb
CXXFLAGS_DEBUG_V += -ggdb
@@ -88,10 +80,6 @@ CXXFLAGS_DEBUG_V += -ggdb
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
CXXFLAGS_OPTIMIZE_V=-O4
-# The following are definitions of make-exe which will work using ld as
-# is currently required. It is expected that as of gcc 2.8, the end user
-# will be able to override parts of the compilers specs and link using gcc.
-
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \
-o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)