From adb85dd473af5c9a72e9da9b7fe013d1b216abc3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 21 Apr 2018 10:22:08 +0200 Subject: 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. --- .../lib/libbsp/mips/csb350/make/custom/csb350.cfg | 19 ------------------- .../hurricane/make/custom/hurricane-testsuite.tcfg | 5 ----- .../mips/hurricane/make/custom/hurricane.cfg | 22 ---------------------- .../jmr3904/make/custom/jmr3904-testsuite.tcfg | 9 --------- .../libbsp/mips/jmr3904/make/custom/jmr3904.cfg | 16 ---------------- c/src/lib/libbsp/mips/malta/make/custom/malta.cfg | 17 ----------------- .../rbtx4925/make/custom/rbtx4925-testsuite.tcfg | 5 ----- .../libbsp/mips/rbtx4925/make/custom/rbtx4925.cfg | 22 ---------------------- .../rbtx4938/make/custom/rbtx4938-testsuite.tcfg | 5 ----- .../libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg | 20 -------------------- 10 files changed, 140 deletions(-) delete mode 100644 c/src/lib/libbsp/mips/csb350/make/custom/csb350.cfg delete mode 100644 c/src/lib/libbsp/mips/hurricane/make/custom/hurricane-testsuite.tcfg delete mode 100644 c/src/lib/libbsp/mips/hurricane/make/custom/hurricane.cfg delete mode 100644 c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904-testsuite.tcfg delete mode 100644 c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904.cfg delete mode 100644 c/src/lib/libbsp/mips/malta/make/custom/malta.cfg delete mode 100644 c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925-testsuite.tcfg delete mode 100644 c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925.cfg delete mode 100644 c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938-testsuite.tcfg delete mode 100644 c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg (limited to 'c/src/lib/libbsp/mips') diff --git a/c/src/lib/libbsp/mips/csb350/make/custom/csb350.cfg b/c/src/lib/libbsp/mips/csb350/make/custom/csb350.cfg deleted file mode 100644 index f6d50662b0..0000000000 --- a/c/src/lib/libbsp/mips/csb350/make/custom/csb350.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# -# Config file for the Cogent CSB350 board -# - -include $(RTEMS_ROOT)/make/custom/default.cfg - -RTEMS_CPU=mips - -# This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -# -# gcc 3.1 and newer -CPU_CFLAGS = -mips32 -G0 -msoft-float - -# optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g -CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections - -LDFLAGS = -Wl,--gc-sections diff --git a/c/src/lib/libbsp/mips/hurricane/make/custom/hurricane-testsuite.tcfg b/c/src/lib/libbsp/mips/hurricane/make/custom/hurricane-testsuite.tcfg deleted file mode 100644 index fb84b55762..0000000000 --- a/c/src/lib/libbsp/mips/hurricane/make/custom/hurricane-testsuite.tcfg +++ /dev/null @@ -1,5 +0,0 @@ -# -# This is the set of tests which are known to not link on this BSP -# - -include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/c/src/lib/libbsp/mips/hurricane/make/custom/hurricane.cfg b/c/src/lib/libbsp/mips/hurricane/make/custom/hurricane.cfg deleted file mode 100644 index b1c050b966..0000000000 --- a/c/src/lib/libbsp/mips/hurricane/make/custom/hurricane.cfg +++ /dev/null @@ -1,22 +0,0 @@ -# -# Config file for the Quick Logic Hurricane evaluation board with PMC-Sierra RM5231 cpu -# - -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 = -mips3 -G0 -EL - -# 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 $@).srec1 - $(PACKHEX) < $(basename $@).srec1 > $(basename $@)$(DOWNEXT) - $(RM) $(basename $@).srec1 - $(default-bsp-post-link) -endef diff --git a/c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904-testsuite.tcfg b/c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904-testsuite.tcfg deleted file mode 100644 index a8d24a09a9..0000000000 --- a/c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904-testsuite.tcfg +++ /dev/null @@ -1,9 +0,0 @@ -# -# The GDB MIPS JMR3904 simulator in GDB -# - -include: testdata/disable-intrcritical-tests.tcfg - -# The simulator catches the data access fault and exits before the -# simulated MIPS handler can run. -exclude: spfatal26 diff --git a/c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904.cfg b/c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904.cfg deleted file mode 100644 index ed4e6b3be0..0000000000 --- a/c/src/lib/libbsp/mips/jmr3904/make/custom/jmr3904.cfg +++ /dev/null @@ -1,16 +0,0 @@ -# -# Config file for the jmr3904 board which has a simulator in gdb -# - -include $(RTEMS_ROOT)/make/custom/default.cfg - -RTEMS_CPU=mips - -CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0 - -CFLAGS_OPTIMIZE_V = -O2 -g - -# arguments to compile and link with per-element sections -CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections -LDFLAGS = -Wl,--gc-sections - diff --git a/c/src/lib/libbsp/mips/malta/make/custom/malta.cfg b/c/src/lib/libbsp/mips/malta/make/custom/malta.cfg deleted file mode 100644 index a25abcc911..0000000000 --- a/c/src/lib/libbsp/mips/malta/make/custom/malta.cfg +++ /dev/null @@ -1,17 +0,0 @@ -# -# Config file for the MIPS Malta board with 24kf CPU -# - -include $(RTEMS_ROOT)/make/custom/default.cfg - -RTEMS_CPU=mips - -# This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -CPU_CFLAGS = -march=24kf1_1 -Wa,-xgot -G0 - -# optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O0 -g -CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections - -LDFLAGS = -Wl,--gc-sections diff --git a/c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925-testsuite.tcfg b/c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925-testsuite.tcfg deleted file mode 100644 index fb84b55762..0000000000 --- a/c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925-testsuite.tcfg +++ /dev/null @@ -1,5 +0,0 @@ -# -# This is the set of tests which are known to not link on this BSP -# - -include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925.cfg b/c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925.cfg deleted file mode 100644 index 744fdb4240..0000000000 --- a/c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925.cfg +++ /dev/null @@ -1,22 +0,0 @@ -# -# Config file for the Toshiba RBTX4925 evaluation board with TX4925 cpu -# - -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 = -mips3 -G0 -EL - -# 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 $@).srec1 - $(PACKHEX) < $(basename $@).srec1 > $(basename $@)$(DOWNEXT) - $(RM) $(basename $@).srec1 - $(default-bsp-post-link) -endef diff --git a/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938-testsuite.tcfg b/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938-testsuite.tcfg deleted file mode 100644 index fb84b55762..0000000000 --- a/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938-testsuite.tcfg +++ /dev/null @@ -1,5 +0,0 @@ -# -# This is the set of tests which are known to not link on this BSP -# - -include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg b/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg deleted file mode 100644 index 42cdf17a04..0000000000 --- a/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.cfg +++ /dev/null @@ -1,20 +0,0 @@ -# -# Config file for the Toshiba RBTX4938 evaluation board with TX4938 cpu -# - -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 = -mips3 -G0 -EL - -# 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) --srec-len=30 -O srec $@ $(basename $@)$(DOWNEXT) - $(default-bsp-post-link) -endef -- cgit v1.2.3