diff options
Diffstat (limited to 'make/custom/mpc8260ads.cfg')
-rw-r--r-- | make/custom/mpc8260ads.cfg | 18 |
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 - - |