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/powerpc/t32mppc/abi.yml | 22 +++++++ spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml | 70 ++++++++++++++++++++++ spec/build/bsps/powerpc/t32mppc/objsmp.yml | 15 +++++ spec/build/bsps/powerpc/t32mppc/optexcbooke.yml | 15 +++++ spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml | 15 +++++ spec/build/bsps/powerpc/t32mppc/start.yml | 14 +++++ 6 files changed, 151 insertions(+) create mode 100644 spec/build/bsps/powerpc/t32mppc/abi.yml create mode 100644 spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml create mode 100644 spec/build/bsps/powerpc/t32mppc/objsmp.yml create mode 100644 spec/build/bsps/powerpc/t32mppc/optexcbooke.yml create mode 100644 spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml create mode 100644 spec/build/bsps/powerpc/t32mppc/start.yml (limited to 'spec/build/bsps/powerpc/t32mppc') diff --git a/spec/build/bsps/powerpc/t32mppc/abi.yml b/spec/build/bsps/powerpc/t32mppc/abi.yml new file mode 100644 index 0000000000..eabcbf586e --- /dev/null +++ b/spec/build/bsps/powerpc/t32mppc/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: +- -D__ppc_generic +- -mcpu=8540 +- -msoft-float +- -meabi +- -msdata=sysv +- -fno-common +default-by-variant: [] +description: | + ABI flags +enabled-by: true +links: [] +name: ABI_FLAGS +type: build diff --git a/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml new file mode 100644 index 0000000000..7c1c1ad4c4 --- /dev/null +++ b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml @@ -0,0 +1,70 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: powerpc +bsp: t32mppc +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: t32mppc +includes: [] +install: +- destination: ${BSP_INCLUDEDIR} + source: + - bsps/powerpc/t32mppc/include/bsp.h + - bsps/powerpc/t32mppc/include/tm27.h +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/powerpc/t32mppc/include/bsp/irq.h +- destination: ${BSP_LIBDIR} + source: + - bsps/powerpc/shared/start/linkcmds.base + - bsps/powerpc/t32mppc/start/linkcmds +links: +- role: build-dependency + uid: ../../obj +- role: build-dependency + uid: ../../objirq +- role: build-dependency + uid: ../../optog +- role: build-dependency + uid: ../crti +- role: build-dependency + uid: ../crtn +- role: build-dependency + uid: ../grp +- role: build-dependency + uid: ../obj +- role: build-dependency + uid: ../objexc +- role: build-dependency + uid: abi +- role: build-dependency + uid: objsmp +- role: build-dependency + uid: optexcbooke +- role: build-dependency + uid: optexcfixdhdlr +- role: build-dependency + uid: start +- role: build-dependency + uid: ../../bspopts +source: +- bsps/powerpc/shared/cache/cache.c +- bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c +- bsps/powerpc/shared/start/bsp-start-zero.S +- bsps/powerpc/shared/start/tictac.c +- bsps/powerpc/t32mppc/clock/clock-config.c +- bsps/powerpc/t32mppc/console/console.c +- bsps/powerpc/t32mppc/irq/irq.c +- bsps/powerpc/t32mppc/start/bspreset.c +- bsps/powerpc/t32mppc/start/bspstart.c +- bsps/shared/dev/btimer/btimer-stub.c +- bsps/shared/dev/getentropy/getentropy-cpucounter.c +- bsps/shared/dev/serial/console-termios.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/powerpc/t32mppc/objsmp.yml b/spec/build/bsps/powerpc/t32mppc/objsmp.yml new file mode 100644 index 0000000000..c69a03be9b --- /dev/null +++ b/spec/build/bsps/powerpc/t32mppc/objsmp.yml @@ -0,0 +1,15 @@ +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_SMP +includes: [] +install: [] +links: [] +source: +- bsps/shared/start/bspsmp-dummy.c +type: build diff --git a/spec/build/bsps/powerpc/t32mppc/optexcbooke.yml b/spec/build/bsps/powerpc/t32mppc/optexcbooke.yml new file mode 100644 index 0000000000..e27cb4ab44 --- /dev/null +++ b/spec/build/bsps/powerpc/t32mppc/optexcbooke.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: true +default-by-variant: [] +description: | + only support Book E exception types +enabled-by: true +links: [] +name: PPC_EXC_CONFIG_BOOKE_ONLY +type: build diff --git a/spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml b/spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml new file mode 100644 index 0000000000..b636d8022b --- /dev/null +++ b/spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.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: true +default-by-variant: [] +description: | + use fixed high-level exception handler +enabled-by: true +links: [] +name: PPC_EXC_CONFIG_USE_FIXED_HANDLER +type: build diff --git a/spec/build/bsps/powerpc/t32mppc/start.yml b/spec/build/bsps/powerpc/t32mppc/start.yml new file mode 100644 index 0000000000..7a6d2bab5f --- /dev/null +++ b/spec/build/bsps/powerpc/t32mppc/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/powerpc/t32mppc/start/start.S +target: start.o +type: build -- cgit v1.2.3