summaryrefslogtreecommitdiff
path: root/bsps/sh/gensh1
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 /bsps/sh/gensh1
parent37dc0471b278c325cf6181701fd8a4514262b148 (diff)
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 'bsps/sh/gensh1')
-rw-r--r--bsps/sh/gensh1/config/gensh1-testsuite.tcfg12
-rw-r--r--bsps/sh/gensh1/config/gensh1.cfg22
2 files changed, 34 insertions, 0 deletions
diff --git a/bsps/sh/gensh1/config/gensh1-testsuite.tcfg b/bsps/sh/gensh1/config/gensh1-testsuite.tcfg
new file mode 100644
index 0000000000..c133712fd0
--- /dev/null
+++ b/bsps/sh/gensh1/config/gensh1-testsuite.tcfg
@@ -0,0 +1,12 @@
+#
+# gensh1 RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+exclude: fileio
+exclude: fsdosfsname01
+exclude: iostream
+exclude: linpack
+exclude: utf8proc01
diff --git a/bsps/sh/gensh1/config/gensh1.cfg b/bsps/sh/gensh1/config/gensh1.cfg
new file mode 100644
index 0000000000..16b61d222b
--- /dev/null
+++ b/bsps/sh/gensh1/config/gensh1.cfg
@@ -0,0 +1,22 @@
+#
+# gensh1.cfg
+#
+# default configuration for Hitachi sh1 processors
+#
+# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sh
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -m1
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections