summaryrefslogtreecommitdiffstats
path: root/make/custom/mpc8260ads.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/mpc8260ads.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/mpc8260ads.cfg')
-rw-r--r--make/custom/mpc8260ads.cfg18
1 files changed, 3 insertions, 15 deletions
diff --git a/make/custom/mpc8260ads.cfg b/make/custom/mpc8260ads.cfg
index f0249d866f..b302b53f8f 100644
--- a/make/custom/mpc8260ads.cfg
+++ b/make/custom/mpc8260ads.cfg
@@ -13,8 +13,6 @@ CPU_TYPE=8260
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=mpc8260ads
-# 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.
@@ -24,20 +22,12 @@ RTEMS_BSP_FAMILY=mpc8260ads
# This defines the assembly language format used in this configuration.
# 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) -mstrict-align
+# CPU_CFLAGS = -mcpu=$(CPU_TYPE) -mstrict-align
+CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
+ -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
@@ -56,5 +46,3 @@ define make-exe
endef
# Miscellaneous additions go here
-
-