* custom/av5282.cfg, custom/csb360.cfg, custom/gen68302.cfg,
	custom/gen68340.cfg, custom/gen68360.cfg, custom/mcf5206elite.cfg,
	custom/mcf5235.cfg, custom/mrm332.cfg, custom/mvme136.cfg,
	custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg,
	custom/mvme167.cfg, custom/ods68302.cfg, custom/sim68000.cfg,
	custom/simcpu32.cfg, custom/uC5282.cfg: Change CCFLAGS to use the
	-mcpu= option for Coldfires now supported in GCC 4.3.0.

2008-06-10	Matthew Riek <matthew.riek@ibiscomputer.com.au>

	* custom/mcf52235.cfg: New.
This commit is contained in:
Chris Johns
2008-06-11 08:17:27 +00:00
parent 9af830802d
commit 84fff68d09
19 changed files with 64 additions and 18 deletions

View File

@@ -12,7 +12,7 @@ RTEMS_BSP_FAMILY=av5282
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -m528x
CPU_CFLAGS = -mcpu=528x
# optimize flag: typically -O2

View File

@@ -16,7 +16,7 @@ RTEMS_BSP_FAMILY=csb360
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -m5200
CPU_CFLAGS = -mcpu=5272
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=gen68302
#
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -m68302
CPU_CFLAGS = -mcpu=68302
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=gen68340
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu32
CPU_CFLAGS = -mcpu=cpu32
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -20,9 +20,9 @@ RTEMS_BSP_FAMILY=gen68360
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
CPU_CFLAGS = -m68040
CPU_CFLAGS = -mcpu=68040
else
CPU_CFLAGS = -mcpu32
CPU_CFLAGS = -mcpu=cpu32
endif
# optimize flag: typically -O2

View File

@@ -16,7 +16,7 @@ RTEMS_BSP_FAMILY=mcf5206elite
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -m5200
CPU_CFLAGS = -mcpu=5206
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

32
make/custom/mcf52235.cfg Normal file
View File

@@ -0,0 +1,32 @@
#
# Config file for the mcf5235 BSP
#
#Based on:
# $Id$
#
# A0.01 Initial Version BDS 07/26/01
#
RTEMS_CPU=m68k
RTEMS_CPU_MODEL=mcf52235
include $(RTEMS_ROOT)/make/custom/default.cfg
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=mcf52235
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=52235
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
# This defines the operations performed on the linked executable.
# is currently required.
define bsp-post-link
$(OBJCOPY) -O binary --strip-all \
$(basename $@).exe $(basename $@)$(DOWNEXT)
$(SIZE) $(basename $@).exe
endef

View File

@@ -18,7 +18,7 @@ RTEMS_BSP_FAMILY=mcf5235
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -m528x
CPU_CFLAGS = -mcpu=5235
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -14,7 +14,7 @@ RTEMS_BSP_FAMILY=mrm332
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu32
CPU_CFLAGS = -mcpu=cpu32
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -16,7 +16,7 @@ RTEMS_BSP_FAMILY=mvme136
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS =
CPU_CFLAGS = -mcpu=68020
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer -DNDEBUG

View File

@@ -14,7 +14,7 @@ RTEMS_BSP_FAMILY=mvme147
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS =
CPU_CFLAGS = -mcpu=68030
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -18,7 +18,7 @@ RTEMS_BSP_FAMILY=mvme162
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -m68040
CPU_CFLAGS = -mcpu=68040
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -24,7 +24,7 @@ RTEMS_BSP_FAMILY=mvme162
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -m68040 -msoft-float
CPU_CFLAGS = -mcpu=68040 -msoft-float
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -21,7 +21,7 @@ RTEMS_BSP_FAMILY=mvme167
# This should really get its own flag, but it works here.
#
CPU_CFLAGS = -m68040
CPU_CFLAGS = -mcpu=68040
# optimize flag: typically -O2

View File

@@ -22,7 +22,7 @@ RTEMS_BSP_FAMILY=ods68302
#
# 68000+softfloat results in gcc 2.95.2 giving default libraries.
# CPU_CFLAGS = -m68302 -msoft-float
CPU_CFLAGS = -m68302
CPU_CFLAGS = -mcpu=68302
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

View File

@@ -11,7 +11,7 @@ RTEMS_CPU_MODEL=m68000
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -m68000
CPU_CFLAGS = -mcpu=68000
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=sim68000

View File

@@ -11,7 +11,7 @@ RTEMS_CPU_MODEL=mcpu32
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu32
CPU_CFLAGS = -mcpu=cpu32
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=sim68000

View File

@@ -12,7 +12,7 @@ RTEMS_BSP_FAMILY = uC5282
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -m528x
CPU_CFLAGS = -mcpu=5282
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g