summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/ChangeLog14
-rw-r--r--make/custom/av5282.cfg2
-rw-r--r--make/custom/csb360.cfg2
-rw-r--r--make/custom/gen68302.cfg2
-rw-r--r--make/custom/gen68340.cfg2
-rw-r--r--make/custom/gen68360.cfg4
-rw-r--r--make/custom/mcf5206elite.cfg2
-rw-r--r--make/custom/mcf52235.cfg32
-rw-r--r--make/custom/mcf5235.cfg2
-rw-r--r--make/custom/mrm332.cfg2
-rw-r--r--make/custom/mvme136.cfg2
-rw-r--r--make/custom/mvme147.cfg2
-rw-r--r--make/custom/mvme162.cfg2
-rw-r--r--make/custom/mvme162lx.cfg2
-rw-r--r--make/custom/mvme167.cfg2
-rw-r--r--make/custom/ods68302.cfg2
-rw-r--r--make/custom/sim68000.cfg2
-rw-r--r--make/custom/simcpu32.cfg2
-rw-r--r--make/custom/uC5282.cfg2
19 files changed, 64 insertions, 18 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index 38330e4cc4..210de0889a 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,17 @@
+2008-06-10 Chris Johns <chrisj@rtems.org>
+
+ * 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.
+
2008-05-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/nds.cfg: Email from author says to drop this flag.
diff --git a/make/custom/av5282.cfg b/make/custom/av5282.cfg
index 018f1cdece..fdc3e522b4 100644
--- a/make/custom/av5282.cfg
+++ b/make/custom/av5282.cfg
@@ -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
diff --git a/make/custom/csb360.cfg b/make/custom/csb360.cfg
index d4a9f66b01..32a9ae3aeb 100644
--- a/make/custom/csb360.cfg
+++ b/make/custom/csb360.cfg
@@ -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
diff --git a/make/custom/gen68302.cfg b/make/custom/gen68302.cfg
index 10c0c9cab5..a4d8d27dfd 100644
--- a/make/custom/gen68302.cfg
+++ b/make/custom/gen68302.cfg
@@ -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
diff --git a/make/custom/gen68340.cfg b/make/custom/gen68340.cfg
index cb5efad93f..fbe4a032ab 100644
--- a/make/custom/gen68340.cfg
+++ b/make/custom/gen68340.cfg
@@ -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
diff --git a/make/custom/gen68360.cfg b/make/custom/gen68360.cfg
index 4276105d10..87785cf391 100644
--- a/make/custom/gen68360.cfg
+++ b/make/custom/gen68360.cfg
@@ -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
diff --git a/make/custom/mcf5206elite.cfg b/make/custom/mcf5206elite.cfg
index 13bc1547da..b6f653edc4 100644
--- a/make/custom/mcf5206elite.cfg
+++ b/make/custom/mcf5206elite.cfg
@@ -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
diff --git a/make/custom/mcf52235.cfg b/make/custom/mcf52235.cfg
new file mode 100644
index 0000000000..7b6032ccd7
--- /dev/null
+++ b/make/custom/mcf52235.cfg
@@ -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
diff --git a/make/custom/mcf5235.cfg b/make/custom/mcf5235.cfg
index a7583a76e6..7685cca12e 100644
--- a/make/custom/mcf5235.cfg
+++ b/make/custom/mcf5235.cfg
@@ -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
diff --git a/make/custom/mrm332.cfg b/make/custom/mrm332.cfg
index 9c146a81e0..d767955ce9 100644
--- a/make/custom/mrm332.cfg
+++ b/make/custom/mrm332.cfg
@@ -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
diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg
index a443877929..7e0ca88148 100644
--- a/make/custom/mvme136.cfg
+++ b/make/custom/mvme136.cfg
@@ -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
diff --git a/make/custom/mvme147.cfg b/make/custom/mvme147.cfg
index 7826149a6e..172db106c3 100644
--- a/make/custom/mvme147.cfg
+++ b/make/custom/mvme147.cfg
@@ -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
diff --git a/make/custom/mvme162.cfg b/make/custom/mvme162.cfg
index 5a4b519004..47a244dd1a 100644
--- a/make/custom/mvme162.cfg
+++ b/make/custom/mvme162.cfg
@@ -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
diff --git a/make/custom/mvme162lx.cfg b/make/custom/mvme162lx.cfg
index c16bedb583..ca84859e26 100644
--- a/make/custom/mvme162lx.cfg
+++ b/make/custom/mvme162lx.cfg
@@ -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
diff --git a/make/custom/mvme167.cfg b/make/custom/mvme167.cfg
index 85747b0388..869bdbdbb2 100644
--- a/make/custom/mvme167.cfg
+++ b/make/custom/mvme167.cfg
@@ -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
diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg
index a15edbdc00..6ca293e087 100644
--- a/make/custom/ods68302.cfg
+++ b/make/custom/ods68302.cfg
@@ -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
diff --git a/make/custom/sim68000.cfg b/make/custom/sim68000.cfg
index 25a056a564..c226817aea 100644
--- a/make/custom/sim68000.cfg
+++ b/make/custom/sim68000.cfg
@@ -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
diff --git a/make/custom/simcpu32.cfg b/make/custom/simcpu32.cfg
index 8289fdb0f3..5c0b176943 100644
--- a/make/custom/simcpu32.cfg
+++ b/make/custom/simcpu32.cfg
@@ -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
diff --git a/make/custom/uC5282.cfg b/make/custom/uC5282.cfg
index 57d10567d3..5e7ceca8bb 100644
--- a/make/custom/uC5282.cfg
+++ b/make/custom/uC5282.cfg
@@ -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