summaryrefslogtreecommitdiffstats
path: root/make/custom/mbx8xx.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 13:07:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 13:07:35 +0000
commit8b9f8b8b1d314ab431528e7d78d35012a89caa06 (patch)
treebe5b679325cbcd775453e5c65a3f9f08e053ad12 /make/custom/mbx8xx.cfg
parentb929c2de1db33aee7ac850f8e3a01cddec1eaf26 (diff)
downloadrtems-8b9f8b8b1d314ab431528e7d78d35012a89caa06.tar.bz2
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/dmv177.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments. * custom/eth_comm.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS. * custom/gen405.cfg: Add -D_OLD_EXCEPTIONS -Dppc405 to CPU_CFLAGS. * custom/helas403.cfg: Add -D_OLD_EXCEPTIONS -Dppc403 to CPU_CFLAGS. * custom/mbx8xx.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL) to CPU_CFLAGS. Remove obsolete comments. * custom/mcp750.cfg: Add -Dmpc750 to CPU_CFLAGS. Remove obsolete comments. * custom/mpc8260ads.cfg: Remove make-target-options. Add -Dmpc8260 -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS. * custom/mvme2307.cfg: Add -Dmpc604 to CPU_CFLAGS. Remove obsolete comments. * custom/ppcn_60x.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments. * custom/psim.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments. * custom/score603e.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
Diffstat (limited to 'make/custom/mbx8xx.cfg')
-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)