summaryrefslogtreecommitdiffstats
path: root/make/custom/eth_comm.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/eth_comm.cfg
parent2001-04-17 Joel Sherrill <joel@OARcorp.com> (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 '')
-rw-r--r--make/custom/eth_comm.cfg15
1 files changed, 2 insertions, 13 deletions
diff --git a/make/custom/eth_comm.cfg b/make/custom/eth_comm.cfg
index f9bc608dd1..2cef71c88a 100644
--- a/make/custom/eth_comm.cfg
+++ b/make/custom/eth_comm.cfg
@@ -14,8 +14,6 @@ CPU_TYPE=860
RTEMS_BSP_FAMILY=eth_comm
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
-# This section makes the target dependent options file.
-
# PPC_ABI (PowerPC)
# This defines the calling convention (Application Binary Interface)
# used in this configuration. EABI is the only one supported.
@@ -26,20 +24,11 @@ RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
# ELF is the only one supported.
#
-define make-target-options
- @echo "#ifdef mpc$(CPU_TYPE)" >>$@
- @echo "#undef mpc$(CPU_TYPE)" >>$@
- @echo "#endif" >>$@
- @echo "#define mpc$(CPU_TYPE) 1" >>$@
- @echo >>$@
- @echo "#define PPC_ABI PPC_ABI_EABI" >>$@
- @echo "#define PPC_ASM PPC_ASM_ELF" >>$@
-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) \
+ -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS