From f3f0370f1054f4e49aa8f5ea70485d673e8e94b6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 19 Jul 2019 13:09:43 +0200 Subject: build: Alternative build system based on waf Update #3818. --- spec/build/bsps/v850/gdbv850sim/abi.yml | 37 ++++++++++++++++++++++ spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml | 21 ++++++++++++ spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml | 21 ++++++++++++ spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml | 21 ++++++++++++ spec/build/bsps/v850/gdbv850sim/bspv850esim.yml | 21 ++++++++++++ spec/build/bsps/v850/gdbv850sim/bspv850essim.yml | 21 ++++++++++++ spec/build/bsps/v850/gdbv850sim/bspv850sim.yml | 21 ++++++++++++ spec/build/bsps/v850/gdbv850sim/grp.yml | 24 ++++++++++++++ spec/build/bsps/v850/gdbv850sim/obj.yml | 37 ++++++++++++++++++++++ spec/build/bsps/v850/gdbv850sim/start.yml | 14 ++++++++ 10 files changed, 238 insertions(+) create mode 100644 spec/build/bsps/v850/gdbv850sim/abi.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/bspv850esim.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/bspv850essim.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/bspv850sim.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/grp.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/obj.yml create mode 100644 spec/build/bsps/v850/gdbv850sim/start.yml (limited to 'spec/build/bsps/v850') diff --git a/spec/build/bsps/v850/gdbv850sim/abi.yml b/spec/build/bsps/v850/gdbv850sim/abi.yml new file mode 100644 index 0000000000..7defa55c80 --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/abi.yml @@ -0,0 +1,37 @@ +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: +- -mv850 +default-by-variant: +- value: + - -mv850es + variants: + - v850/v850essim +- value: + - -mv850e + variants: + - v850/v850esim +- value: + - -mv850e2v3 + variants: + - v850/v850e2v3sim +- value: + - -mv850e2 + variants: + - v850/v850e2sim +- value: + - -mv850e1 + variants: + - v850/v850e1sim +description: | + ABI flags +enabled-by: true +links: [] +name: ABI_FLAGS +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml new file mode 100644 index 0000000000..b33b5d32f6 --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: v850 +bsp: v850e1sim +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: gdbv850sim +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: ../../tstreqtick +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml new file mode 100644 index 0000000000..e9db30bea6 --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: v850 +bsp: v850e2sim +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: gdbv850sim +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: ../../tstreqtick +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml new file mode 100644 index 0000000000..acc439b720 --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: v850 +bsp: v850e2v3sim +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: gdbv850sim +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: ../../tstreqtick +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850esim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850esim.yml new file mode 100644 index 0000000000..d6418536b3 --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/bspv850esim.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: v850 +bsp: v850esim +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: gdbv850sim +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: ../../tstreqtick +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850essim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850essim.yml new file mode 100644 index 0000000000..5916a1ca6f --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/bspv850essim.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: v850 +bsp: v850essim +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: gdbv850sim +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: ../../tstreqtick +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850sim.yml new file mode 100644 index 0000000000..3288b8e63f --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/bspv850sim.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: v850 +bsp: v850sim +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: gdbv850sim +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: ../../tstreqtick +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/grp.yml b/spec/build/bsps/v850/gdbv850sim/grp.yml new file mode 100644 index 0000000000..1c31b7abe3 --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/grp.yml @@ -0,0 +1,24 @@ +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: ../../obj +- role: build-dependency + uid: ../../objirqdflt +- role: build-dependency + uid: abi +- role: build-dependency + uid: obj +- role: build-dependency + uid: start +- role: build-dependency + uid: ../../bspopts +type: build +use-after: [] +use-before: [] diff --git a/spec/build/bsps/v850/gdbv850sim/obj.yml b/spec/build/bsps/v850/gdbv850sim/obj.yml new file mode 100644 index 0000000000..384c23542e --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/obj.yml @@ -0,0 +1,37 @@ +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/v850/gdbv850sim/include/bsp.h + - bsps/v850/gdbv850sim/include/tm27.h +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/v850/gdbv850sim/include/bsp/irq.h + - bsps/v850/gdbv850sim/include/bsp/syscall.h +- destination: ${BSP_LIBDIR} + source: + - bsps/v850/gdbv850sim/start/linkcmds +links: [] +source: +- bsps/shared/cache/nocache.c +- bsps/shared/dev/btimer/btimer-stub.c +- bsps/shared/dev/clock/clock-simidle.c +- bsps/shared/dev/getentropy/getentropy-cpucounter.c +- bsps/shared/dev/serial/console-polled.c +- bsps/shared/start/bspfatal-default.c +- bsps/shared/start/bspgetworkarea-default.c +- bsps/shared/start/bspstart-empty.c +- bsps/shared/start/sbrk.c +- bsps/v850/gdbv850sim/console/console-io.c +- bsps/v850/gdbv850sim/start/bspreset.c +- bsps/v850/gdbv850sim/start/trap.S +- bsps/v850/shared/start/crt1.c +type: build diff --git a/spec/build/bsps/v850/gdbv850sim/start.yml b/spec/build/bsps/v850/gdbv850sim/start.yml new file mode 100644 index 0000000000..d1ffc46527 --- /dev/null +++ b/spec/build/bsps/v850/gdbv850sim/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/v850/gdbv850sim/start/start.S +target: start.o +type: build -- cgit v1.2.3