motorola_powerpc: Move -Dxxx to configure.ac

Updates #3425.
This commit is contained in:
Joel Sherrill
2018-05-16 09:47:40 -05:00
parent 01da0ac3b9
commit 2261ef2813
6 changed files with 21 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ RTEMS_CPU=powerpc
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=750 -Dmpc750
CPU_CFLAGS = -mcpu=750
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align

View File

@@ -8,7 +8,7 @@ RTEMS_CPU=powerpc
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=603e -Dppc603e
CPU_CFLAGS = -mcpu=603e
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align

View File

@@ -8,7 +8,7 @@ RTEMS_CPU=powerpc
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=603e -Dppc603e
CPU_CFLAGS = -mcpu=603e
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align

View File

@@ -1,5 +1,5 @@
#
# Config file for the PowerPC 604 based mvme2307
# Config file for the QemuPrep w/Altivec
#
include $(RTEMS_ROOT)/make/custom/default.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU=powerpc
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=7400 -mmultiple -mstring -mstrict-align -D__ppc_generic
CPU_CFLAGS = -mcpu=7400 -mmultiple -mstring -mstrict-align
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g

View File

@@ -1,5 +1,5 @@
#
# Config file for the PowerPC 604 based mvme2307
# Config file for the QemuPrep w/o Altivec
#
include $(RTEMS_ROOT)/make/custom/default.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU=powerpc
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic
CPU_CFLAGS = -mcpu=powerpc -mmultiple -mstring -mstrict-align
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g

View File

@@ -47,6 +47,20 @@ RTEMS_BSPOPTS_SET([qemu],[qemuprep*],[1])
RTEMS_BSPOPTS_SET([qemu],[*],[])
RTEMS_BSPOPTS_HELP([qemu],[Defined for QEMU BSP -- undefined for others])
RTEMS_BSPOPTS_SET([mpc750],[mcp750],[1])
RTEMS_BSPOPTS_SET([mpc750],[*],[])
RTEMS_BSPOPTS_HELP([mpc750],[Define when mpc750 -- undefined for others])
RTEMS_BSPOPTS_SET([mpc603e],[mtx603e],[1])
RTEMS_BSPOPTS_SET([mpc603e],[mvme2100],[1])
RTEMS_BSPOPTS_SET([mpc603e],[*],[])
RTEMS_BSPOPTS_HELP([mpc603e],[Define when ppc603e -- undefined for others])
RTEMS_BSPOPTS_SET([__ppc_generic],[qemuprep],[1])
RTEMS_BSPOPTS_SET([__ppc_generic],[qemuprep-altivec],[1])
RTEMS_BSPOPTS_SET([__ppc_generic],[*],[])
RTEMS_BSPOPTS_HELP([__ppc_generic],[Define when generic PPC -- undefined for others])
RTEMS_BSP_CLEANUP_OPTIONS
# Explicitly list all Makefiles here