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