summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-21 10:22:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-23 15:18:42 +0200
commitadb85dd473af5c9a72e9da9b7fe013d1b216abc3 (patch)
treeed54d2ce2354cf2b75995d1e1f2bc685436bc4ca /c/src/lib/libbsp/m68k
parentbsps: Remove AC_CONFIG_SRCDIR() (diff)
downloadrtems-adb85dd473af5c9a72e9da9b7fe013d1b216abc3.tar.bz2
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r--c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg30
-rw-r--r--c/src/lib/libbsp/m68k/csb360/make/custom/csb360.cfg19
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg18
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg15
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg16
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg15
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/make/custom/COBRA5475.cfg10
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/make/custom/genmcf548x.inc23
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/make/custom/m5484FireEngine.cfg10
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite-testsuite.tcfg8
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg21
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235-testsuite.tcfg28
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg27
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x-testsuite.tcfg16
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg30
-rw-r--r--c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg31
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg29
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332-testsuite.tcfg16
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332.cfg28
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/make/custom/mvme147.cfg25
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg27
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162-testsuite.tcfg7
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg29
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx-testsuite.tcfg7
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg34
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/make/custom/mvme167.cfg42
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg24
27 files changed, 0 insertions, 585 deletions
diff --git a/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg b/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg
deleted file mode 100644
index 1c82a4de12..0000000000
--- a/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# Config file for the uC5282 BSP
-#
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=528x
-
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2574.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
-
-ifndef MTARGET
-MTARGET=ram
-endif
-
-define bsp-post-link
- $(default-bsp-post-link)
- $(OBJCOPY) -O binary --strip-all \
- $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
-endef
diff --git a/c/src/lib/libbsp/m68k/csb360/make/custom/csb360.cfg b/c/src/lib/libbsp/m68k/csb360/make/custom/csb360.cfg
deleted file mode 100644
index 8694aacec7..0000000000
--- a/c/src/lib/libbsp/m68k/csb360/make/custom/csb360.cfg
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Config file for a Cogent CSB360
-#
-# Author: Jay Monkman <jtm@lopingdog.com>
-#
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=5272
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
diff --git a/c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg b/c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg
deleted file mode 100644
index 5185e2c5a8..0000000000
--- a/c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Config file for a "generic 68340" BSP
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=cpu32
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2573.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
diff --git a/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg b/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg
deleted file mode 100644
index d8e3d2c3a5..0000000000
--- a/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Config file for a "generic 68360" BSP
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-CPU_CFLAGS = -mcpu=cpu32
-
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2566.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
diff --git a/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg b/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg
deleted file mode 100644
index 142f3c7ae4..0000000000
--- a/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Configuration file for a 68040 using the 68360 in companion mode
-#
-
-RTEMS_CPU=m68k
-
-CPU_CFLAGS = -mcpu=68040
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2566.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
diff --git a/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg b/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
deleted file mode 100644
index 2303a62b45..0000000000
--- a/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Config file for a "generic 68360" BSP
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-CPU_CFLAGS = -mcpu32
-
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2566.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/make/custom/COBRA5475.cfg b/c/src/lib/libbsp/m68k/genmcf548x/make/custom/COBRA5475.cfg
deleted file mode 100644
index 1c27ee9741..0000000000
--- a/c/src/lib/libbsp/m68k/genmcf548x/make/custom/COBRA5475.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Config file for COBRA5475 module
-#
-
-#
-# All genmcf548x configurations share the same base file, only a few
-# parameters differ.
-#
-
-include $(RTEMS_ROOT)/make/custom/genmcf548x.inc
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/make/custom/genmcf548x.inc b/c/src/lib/libbsp/m68k/genmcf548x/make/custom/genmcf548x.inc
deleted file mode 100644
index 330d47ed06..0000000000
--- a/c/src/lib/libbsp/m68k/genmcf548x/make/custom/genmcf548x.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Config file for the genmcf548x BSP
-#
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcfv4e -Wa,-memac
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
- $(basename $@)$(DOWNEXT)
- $(default-bsp-post-link)
-endef
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/make/custom/m5484FireEngine.cfg b/c/src/lib/libbsp/m68k/genmcf548x/make/custom/m5484FireEngine.cfg
deleted file mode 100644
index 7322a36c9f..0000000000
--- a/c/src/lib/libbsp/m68k/genmcf548x/make/custom/m5484FireEngine.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Config file for freescale's M5484FireEngine evaluation board
-#
-
-#
-# All genmcf548x configurations share the same base file, only a few
-# parameters differ.
-#
-
-include $(RTEMS_ROOT)/make/custom/genmcf548x.inc
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite-testsuite.tcfg b/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite-testsuite.tcfg
deleted file mode 100644
index d11a487569..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite-testsuite.tcfg
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# mcf5206elite RTEMS Test Database
-#
-# Format is one line per test that is _NOT_ built.
-#
-
-exclude: fsdosfsname01
-exclude: dl05
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg b/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg
deleted file mode 100644
index 258727b9be..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Config file for a MCF5206eLITE board BSP
-#
-# Author: Victor V. Vengerov <vvv@oktet.ru>
-#
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=5206
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2572.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
diff --git a/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235-testsuite.tcfg b/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235-testsuite.tcfg
deleted file mode 100644
index f81ea1d224..0000000000
--- a/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235-testsuite.tcfg
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# MCF52235 RTEMS Test Database.
-#
-# Format is one line per test that is _NOT_ built.
-#
-
-include: testdata/disable-iconv-tests.tcfg
-include: testdata/disable-jffs2-tests.tcfg
-
-exclude: capture
-exclude: cdtest
-exclude: dl05
-exclude: fileio
-exclude: flashdisk01
-exclude: fsdosfsformat01
-exclude: fsdosfsname01
-exclude: ftp01
-exclude: iostream
-exclude: linpack
-exclude: loopback
-exclude: mghttpd01
-exclude: monitor02
-exclude: paranoia
-exclude: pppd
-exclude: spstkalloc02
-exclude: syscall01
-exclude: tmfine01
-exclude: utf8proc01
diff --git a/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg b/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg
deleted file mode 100644
index bc69711fd7..0000000000
--- a/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Config file for the mcf5235 BSP
-#
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# 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
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2570.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
-
-# This defines the operations performed on the linked executable.
-# is currently required.
-define bsp-post-link
- $(OBJCOPY) -O binary --strip-all \
- $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
- $(SIZE) $(basename $@)$(EXEEXT)
-endef
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x-testsuite.tcfg b/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x-testsuite.tcfg
deleted file mode 100644
index 76d09e7ee7..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x-testsuite.tcfg
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# mcf5225x RTEMS Test Database.
-#
-# Format is one line per test that is _NOT_ built.
-#
-
-include: testdata/disable-iconv-tests.tcfg
-include: testdata/disable-jffs2-tests.tcfg
-
-exclude: cdtest
-exclude: dl05
-exclude: fileio
-exclude: flashdisk01
-exclude: fsdosfsname01
-exclude: iostream
-exclude: linpack
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg b/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg
deleted file mode 100644
index d195e46199..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# Config file for the mcf5225x BSP
-#
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This is the actual bsp directory used during the build process.
-RTEMS_BSP_FAMILY=mcf5225x
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=52235 $(PROJECT_FLAGS)
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2568.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
-
-# This defines the operations performed on the linked executable.
-# is currently required.
-define bsp-post-link
- $(OBJCOPY) -O binary --strip-all \
- $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
- $(SIZE) $(basename $@)$(EXEEXT)
-endef
diff --git a/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg b/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg
deleted file mode 100644
index aed4e2ed5c..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Config file for the mcf5235 BSP
-#
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=5235
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2571.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
-
-ifndef MTARGET
-MTARGET=ram
-endif
-
-# This defines the operations performed on the linked executable.
-# is currently required.
-define bsp-post-link
- $(OBJCOPY) -O binary --strip-all \
- $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
- $(SIZE) $(basename $@)$(EXEEXT)
-endef
diff --git a/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg b/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
deleted file mode 100644
index 88b6df6ce7..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Config file for the mcf5329 BSP
-#
-
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-#CPU_CFLAGS = -mcpu=5329
-CPU_CFLAGS = -mcpu=5307
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2569.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
-
-# This defines the operations performed on the linked executable.
-# is currently required.
-define bsp-post-link
- $(OBJCOPY) -O binary --strip-all \
- $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
- $(SIZE) $(basename $@)$(EXEEXT)
-endef
diff --git a/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332-testsuite.tcfg b/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332-testsuite.tcfg
deleted file mode 100644
index 624b1d982c..0000000000
--- a/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332-testsuite.tcfg
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# mrm332 RTEMS Test Database.
-#
-# Format is one line per test that is _NOT_ built.
-#
-
-include: testdata/disable-iconv-tests.tcfg
-exclude: cdtest
-exclude: dl05
-exclude: fileio
-exclude: fsdosfsname01
-exclude: iostream
-exclude: linpack
-exclude: sptls01
-exclude: sptls02
-exclude: utf8proc01
diff --git a/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332.cfg b/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332.cfg
deleted file mode 100644
index 979f331399..0000000000
--- a/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332.cfg
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Config file for the mrm332 BSP
-#
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-RTEMS_CPU=m68k
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=cpu32
-
-# using optimise for size due to small memory on target board.
-CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2567.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
- sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
- $(PACKHEX) > $(basename $@)$(DOWNEXT)
- rm -f $(basename $@).srec
- $(default-bsp-post-link)
-endef
-
diff --git a/c/src/lib/libbsp/m68k/mvme147/make/custom/mvme147.cfg b/c/src/lib/libbsp/m68k/mvme147/make/custom/mvme147.cfg
deleted file mode 100644
index 18e9f28b71..0000000000
--- a/c/src/lib/libbsp/m68k/mvme147/make/custom/mvme147.cfg
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Config file for the mvme147 BSP
-#
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-RTEMS_CPU=m68k
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=68030
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
- sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
- $(PACKHEX) > $(basename $@)$(DOWNEXT)
- rm -f $(basename $@).srec
- $(default-bsp-post-link)
-endef
diff --git a/c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg b/c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg
deleted file mode 100644
index 89922a518e..0000000000
--- a/c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Config file for the mvme147s BSP
-#
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-RTEMS_CPU=m68k
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=68030
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
- sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
- $(PACKHEX) > $(basename $@)$(DOWNEXT)
- rm -f $(basename $@).srec
- $(default-bsp-post-link)
-endef
-
-# Miscellaneous additions go here
diff --git a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162-testsuite.tcfg b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162-testsuite.tcfg
deleted file mode 100644
index 8476d8ecff..0000000000
--- a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162-testsuite.tcfg
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# mvme162 RTEMS Test Database
-#
-# Format is one line per test that is _NOT_ built.
-#
-
-exclude: fsdosfsname01
diff --git a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg
deleted file mode 100644
index db96fff921..0000000000
--- a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Config file for the mvme162 BSP
-#
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-RTEMS_CPU=m68k
-
-RTEMS_MVME162_MODEL=mvme162
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-#
-
-CPU_CFLAGS = -mcpu=68040 -msoft-float
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(default-bsp-post-link)
- $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
-endef
-
-# BSP-specific tools
-SLOAD=$(PROJECT_TOOLS)/sload
diff --git a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx-testsuite.tcfg b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx-testsuite.tcfg
deleted file mode 100644
index f1f680287a..0000000000
--- a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx-testsuite.tcfg
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# mvme162lx RTEMS Test Database
-#
-# Format is one line per test that is _NOT_ built.
-#
-
-exclude: fsdosfsname01
diff --git a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg
deleted file mode 100644
index 8483cf0d84..0000000000
--- a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Configuration file for a MVME162LX
-#
-# This is an MVME162 model with ...
-
-#
-# All mvme162 configurations share the same base file, only the cpu model
-# differs.
-#
-
-RTEMS_MVME162_MODEL=mvme162lx
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-RTEMS_CPU=m68k
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-#
-CPU_CFLAGS = -mcpu=68040 -msoft-float
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(default-bsp-post-link)
- $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
-endef
-
-# BSP-specific tools
-SLOAD=$(PROJECT_TOOLS)/sload
diff --git a/c/src/lib/libbsp/m68k/mvme167/make/custom/mvme167.cfg b/c/src/lib/libbsp/m68k/mvme167/make/custom/mvme167.cfg
deleted file mode 100644
index c40f248493..0000000000
--- a/c/src/lib/libbsp/m68k/mvme167/make/custom/mvme167.cfg
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Config file for the mvme167 BSP
-#
-
-# THIS BSP USES ELF IMAGES. IT WILL NOT WORK WITH COFF UNLESS CHANGES
-# ARE MADE TO THE LINKCMDS FILE.
-
-RTEMS_CPU=m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it. We also specify the BSP during compilation.
-# This should really get its own flag, but it works here.
-#
-
-CPU_CFLAGS = -mcpu=68040
-
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fno-omit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-# We use TFTP to transfer files to the MVME167. We generate binary files
-# rather than S-records. We skip the header during downloads.
-
-# The MC68040 does not implement all MC68881/MC68882 instructions, so use
-# either the gcc floating-point software support (msoft-float libraries), or
-# use the Motorola FPSP floating-point emulator in
-# rtems/c/src/lib/libcpu/m68k/m68040/fpsp
-# The default is to use the FPSP.
-# To use the msoft-float libraries, uncomment the three lines below.
-# You then should comment the M68KFPSPInstallExceptionHandlers() statement
-# in rtems/c/src/lib/libbsp/m68k/mvme167/startup/bststart.c in bsp_start().
-# Floating-point support will then be limited. See the mvme167 README file
-# for more details.
-define bsp-post-link
- $(default-bsp-post-link)
- $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
-endef
diff --git a/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg b/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
deleted file mode 100644
index b8e3f52667..0000000000
--- a/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Config file for the uC5282 BSP
-#
-
-RTEMS_CPU = m68k
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This contains the compiler options necessary to select the CPU model
-# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=5282
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g
-
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2575.
-# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(default-bsp-post-link)
- $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
-endef