diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-21 10:22:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-23 15:18:42 +0200 |
commit | adb85dd473af5c9a72e9da9b7fe013d1b216abc3 (patch) | |
tree | ed54d2ce2354cf2b75995d1e1f2bc685436bc4ca /bsps/arm/rtl22xx | |
parent | bsps: Remove AC_CONFIG_SRCDIR() (diff) | |
download | rtems-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 'bsps/arm/rtl22xx')
-rw-r--r-- | bsps/arm/rtl22xx/config/rtl22xx-testsuite.tcfg | 13 | ||||
-rw-r--r-- | bsps/arm/rtl22xx/config/rtl22xx.cfg | 21 | ||||
-rw-r--r-- | bsps/arm/rtl22xx/config/rtl22xx_t-testsuite.tcfg | 9 | ||||
-rw-r--r-- | bsps/arm/rtl22xx/config/rtl22xx_t.cfg | 19 |
4 files changed, 62 insertions, 0 deletions
diff --git a/bsps/arm/rtl22xx/config/rtl22xx-testsuite.tcfg b/bsps/arm/rtl22xx/config/rtl22xx-testsuite.tcfg new file mode 100644 index 0000000000..6c25615e73 --- /dev/null +++ b/bsps/arm/rtl22xx/config/rtl22xx-testsuite.tcfg @@ -0,0 +1,13 @@ +# +# rtl22xx RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/disable-iconv-tests.tcfg +exclude: fileio +exclude: fsdosfsname01 +exclude: linpack +exclude: iostream +exclude: rtems++ +exclude: utf8proc01 diff --git a/bsps/arm/rtl22xx/config/rtl22xx.cfg b/bsps/arm/rtl22xx/config/rtl22xx.cfg new file mode 100644 index 0000000000..9b195477f8 --- /dev/null +++ b/bsps/arm/rtl22xx/config/rtl22xx.cfg @@ -0,0 +1,21 @@ +# +# Config file for LPC22xx board +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=arm + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=arm7tdmi + +# optimize flag: typically -0, could use -O4 or -fast +# -O4 is ok for RTEMS +# NOTE2: some level of -O may be actually required by inline assembler (at least +# -O2 so far. +CFLAGS_OPTIMIZE_V = -Os -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/arm/rtl22xx/config/rtl22xx_t-testsuite.tcfg b/bsps/arm/rtl22xx/config/rtl22xx_t-testsuite.tcfg new file mode 100644 index 0000000000..e55524aac4 --- /dev/null +++ b/bsps/arm/rtl22xx/config/rtl22xx_t-testsuite.tcfg @@ -0,0 +1,9 @@ +# +# rtl22xx_t RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/disable-iconv-tests.tcfg +exclude: fsdosfsname01 +exclude: linpack diff --git a/bsps/arm/rtl22xx/config/rtl22xx_t.cfg b/bsps/arm/rtl22xx/config/rtl22xx_t.cfg new file mode 100644 index 0000000000..5cf8b66246 --- /dev/null +++ b/bsps/arm/rtl22xx/config/rtl22xx_t.cfg @@ -0,0 +1,19 @@ +# +# Config file for LPC22xx board in Thumb mode +# + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# + +include $(RTEMS_ROOT)/make/custom/rtl22xx.cfg + +CPU_CFLAGS += -mthumb + +#CFLAG: -mthumb-interwork can add veneer between ARM and Thumb code. +#CPU_CFLAGS += -mthumb-interwork -D __THUMB_INTERWORK__ -mthumb +#CPU_ASFLAGS += -D __THUMB_INTERWORK__ -mthumb-interwork + +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |