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