summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/lm32
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/lm32
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/lm32')
-rw-r--r--c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr.cfg29
-rw-r--r--c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim-testsuite.tcfg6
-rw-r--r--c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim.cfg5
-rw-r--r--c/src/lib/libbsp/lm32/milkymist/make/custom/milkymist.cfg29
4 files changed, 0 insertions, 69 deletions
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr.cfg b/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr.cfg
deleted file mode 100644
index fc6e65b768..0000000000
--- a/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr.cfg
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Config file for the lm32_evr BSP
-#
-
-# Choices for CPU_MODEL:
-# tiny (no cache)
-# standard (instruction cache)
-# fast (instruction and data cache)
-
-RTEMS_CPU = lm32
-
-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 =
-
-# optimize flag: typically -O2
-# ATM, doesn't work with optimization levels > 0
-CFLAGS_OPTIMIZE_V = -O0 -g
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
- -R entry -R exceptions $(basename $@)$(DOWNEXT)
- $(default-bsp-post-link)
-endef
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim-testsuite.tcfg b/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim-testsuite.tcfg
deleted file mode 100644
index 595806baed..0000000000
--- a/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim-testsuite.tcfg
+++ /dev/null
@@ -1,6 +0,0 @@
-#
-# The GDB LM32 simulator in GDB
-#
-
-include: testdata/disable-intrcritical-tests.tcfg
-
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim.cfg b/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim.cfg
deleted file mode 100644
index 2050654d44..0000000000
--- a/c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr_gdbsim.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# BSP Variant for running on simulator in GDB
-#
-
-include $(RTEMS_ROOT)/make/custom/lm32_evr.cfg
diff --git a/c/src/lib/libbsp/lm32/milkymist/make/custom/milkymist.cfg b/c/src/lib/libbsp/lm32/milkymist/make/custom/milkymist.cfg
deleted file mode 100644
index 4f280fc612..0000000000
--- a/c/src/lib/libbsp/lm32/milkymist/make/custom/milkymist.cfg
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Config file for the milkymist BSP
-#
-
-# Choices for CPU_MODEL:
-# tiny (no cache)
-# standard (instruction cache)
-# fast (instruction and data cache)
-
-RTEMS_CPU = lm32
-
-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 = -mbarrel-shift-enabled -mmultiply-enabled \
- -mdivide-enabled -msign-extend-enabled
-
-# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-
-LDFLAGS = -Wl,--gc-sections
-
-define bsp-post-link
- $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
- -R entry -R exceptions $(basename $@)$(DOWNEXT)
- $(default-bsp-post-link)
-endef