summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/rtl22xx
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-07-19 13:09:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-14 07:11:32 +0200
commitf3f0370f1054f4e49aa8f5ea70485d673e8e94b6 (patch)
tree11d44920353aea9bf4301eb267f8c831e622520e /spec/build/bsps/arm/rtl22xx
parent9f096f47243ab19db617ec990188dbef71166e41 (diff)
downloadrtems-f3f0370f1054f4e49aa8f5ea70485d673e8e94b6.tar.bz2
build: Alternative build system based on waf
Update #3818.
Diffstat (limited to 'spec/build/bsps/arm/rtl22xx')
-rw-r--r--spec/build/bsps/arm/rtl22xx/abi.yml22
-rw-r--r--spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml21
-rw-r--r--spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml21
-rw-r--r--spec/build/bsps/arm/rtl22xx/grp.yml30
-rw-r--r--spec/build/bsps/arm/rtl22xx/obj.yml41
-rw-r--r--spec/build/bsps/arm/rtl22xx/objnet.yml16
-rw-r--r--spec/build/bsps/arm/rtl22xx/optskyeye.yml15
-rw-r--r--spec/build/bsps/arm/rtl22xx/start.yml14
-rw-r--r--spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml21
-rw-r--r--spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml18
10 files changed, 219 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/rtl22xx/abi.yml b/spec/build/bsps/arm/rtl22xx/abi.yml
new file mode 100644
index 0000000000..abb7f66b50
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/abi.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm7tdmi
+- -mthumb
+default-by-variant:
+- value:
+ - -mcpu=arm7tdmi
+ variants:
+ - arm/rtl22xx
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml b/spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml
new file mode 100644
index 0000000000..340172deef
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: rtl22xx
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: rtl22xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstrtl22xx
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml b/spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml
new file mode 100644
index 0000000000..ecd5f8baec
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: rtl22xx_t
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: rtl22xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstrtl22xxt
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/grp.yml b/spec/build/bsps/arm/rtl22xx/grp.yml
new file mode 100644
index 0000000000..4d560158f4
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/grp.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/rtl22xx/obj.yml b/spec/build/bsps/arm/rtl22xx/obj.yml
new file mode 100644
index 0000000000..1889f0d842
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/obj.yml
@@ -0,0 +1,41 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/rtl22xx/include/bsp.h
+ - bsps/arm/rtl22xx/include/lpc22xx.h
+ - bsps/arm/rtl22xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/rtl22xx/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/rtl22xx/start/linkcmds
+links: []
+source:
+- bsps/arm/rtl22xx/btimer/btimer.c
+- bsps/arm/rtl22xx/clock/clockdrv.c
+- bsps/arm/rtl22xx/console/uart.c
+- bsps/arm/rtl22xx/irq/irq.c
+- bsps/arm/rtl22xx/start/bspreset.c
+- bsps/arm/rtl22xx/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/objnet.yml b/spec/build/bsps/arm/rtl22xx/objnet.yml
new file mode 100644
index 0000000000..3e9f691ec5
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/rtl22xx/net/network.c
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/optskyeye.yml b/spec/build/bsps/arm/rtl22xx/optskyeye.yml
new file mode 100644
index 0000000000..be55a98c3a
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, enable options which optimize executingon the Skyeye simulator. Speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
+enabled-by: true
+links: []
+name: ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/start.yml b/spec/build/bsps/arm/rtl22xx/start.yml
new file mode 100644
index 0000000000..4fe0065e7e
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/rtl22xx/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml b/spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml
new file mode 100644
index 0000000000..9e3fe758bc
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ dl10: exclude
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml b/spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml
new file mode 100644
index 0000000000..53b3efd010
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ dl10: exclude
+ fsdosfsname01: exclude
+ linpack: exclude
+ record02: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build