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/haleakala/abi.yml | 18 ++++++ spec/build/bsps/powerpc/haleakala/bsphaleakala.yml | 70 ++++++++++++++++++++++ spec/build/bsps/powerpc/haleakala/objnet.yml | 16 +++++ spec/build/bsps/powerpc/haleakala/optsprg.yml | 15 +++++ spec/build/bsps/powerpc/haleakala/optvecbase.yml | 16 +++++ spec/build/bsps/powerpc/haleakala/start.yml | 14 +++++ 6 files changed, 149 insertions(+) create mode 100644 spec/build/bsps/powerpc/haleakala/abi.yml create mode 100644 spec/build/bsps/powerpc/haleakala/bsphaleakala.yml create mode 100644 spec/build/bsps/powerpc/haleakala/objnet.yml create mode 100644 spec/build/bsps/powerpc/haleakala/optsprg.yml create mode 100644 spec/build/bsps/powerpc/haleakala/optvecbase.yml create mode 100644 spec/build/bsps/powerpc/haleakala/start.yml (limited to 'spec/build/bsps/powerpc/haleakala') diff --git a/spec/build/bsps/powerpc/haleakala/abi.yml b/spec/build/bsps/powerpc/haleakala/abi.yml new file mode 100644 index 0000000000..1fc318b3cb --- /dev/null +++ b/spec/build/bsps/powerpc/haleakala/abi.yml @@ -0,0 +1,18 @@ +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: +- -Dppc405 +- -mcpu=405 +default-by-variant: [] +description: | + ABI flags +enabled-by: true +links: [] +name: ABI_FLAGS +type: build diff --git a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml new file mode 100644 index 0000000000..8076f1f55f --- /dev/null +++ b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml @@ -0,0 +1,70 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: powerpc +bsp: haleakala +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: haleakala +includes: [] +install: +- destination: ${BSP_INCLUDEDIR} + source: + - bsps/powerpc/haleakala/include/bsp.h + - bsps/powerpc/haleakala/include/mmu_405.h + - bsps/powerpc/haleakala/include/tm27.h +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/powerpc/haleakala/include/bsp/irq.h +- destination: ${BSP_LIBDIR} + source: + - bsps/powerpc/haleakala/start/linkcmds +links: +- role: build-dependency + uid: ../../obj +- role: build-dependency + uid: ../../objirqdflt +- role: build-dependency + uid: ../../opto1 +- role: build-dependency + uid: ../crti +- role: build-dependency + uid: ../crtn +- role: build-dependency + uid: ../grp +- role: build-dependency + uid: abi +- role: build-dependency + uid: objnet +- role: build-dependency + uid: optsprg +- role: build-dependency + uid: optvecbase +- role: build-dependency + uid: start +- role: build-dependency + uid: ../obj +- role: build-dependency + uid: ../objexc +- role: build-dependency + uid: ../../bspopts +source: +- bsps/powerpc/haleakala/irq/irq.c +- bsps/powerpc/haleakala/irq/irq_init.c +- bsps/powerpc/haleakala/start/bspstart.c +- bsps/powerpc/haleakala/start/mmu_405.c +- bsps/powerpc/haleakala/start/mmu_405asm.S +- bsps/powerpc/shared/btimer/btimer-ppc-dec.c +- bsps/powerpc/shared/cache/cache.c +- bsps/powerpc/shared/clock/clock-ppc403.c +- bsps/powerpc/shared/console/console.c +- bsps/powerpc/shared/console/uart.c +- bsps/powerpc/shared/irq/ppc-irq-legacy.c +- bsps/shared/dev/getentropy/getentropy-cpucounter.c +- bsps/shared/start/bspfatal-default.c +- bsps/shared/start/bspgetworkarea-default.c +- bsps/shared/start/bspreset-loop.c +- bsps/shared/start/sbrk.c +type: build diff --git a/spec/build/bsps/powerpc/haleakala/objnet.yml b/spec/build/bsps/powerpc/haleakala/objnet.yml new file mode 100644 index 0000000000..c308d98009 --- /dev/null +++ b/spec/build/bsps/powerpc/haleakala/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/powerpc/haleakala/net/network.c +type: build diff --git a/spec/build/bsps/powerpc/haleakala/optsprg.yml b/spec/build/bsps/powerpc/haleakala/optsprg.yml new file mode 100644 index 0000000000..1e1a112f43 --- /dev/null +++ b/spec/build/bsps/powerpc/haleakala/optsprg.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: | + If defined, then the PowerPC specific code in RTEMS will use some of the special purpose registers to slightly optimize interrupt response time. The use of these registers can conflict with other tools like debuggers. +enabled-by: true +links: [] +name: PPC_USE_SPRG +type: build diff --git a/spec/build/bsps/powerpc/haleakala/optvecbase.yml b/spec/build/bsps/powerpc/haleakala/optvecbase.yml new file mode 100644 index 0000000000..93812ff965 --- /dev/null +++ b/spec/build/bsps/powerpc/haleakala/optvecbase.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 256 +default-by-variant: [] +description: | + This defines the base address of the exception table. NOTE: Vectors are actually at 0xFFF00000 but file starts at offset. +enabled-by: true +format: '{:#010x}' +links: [] +name: PPC_VECTOR_FILE_BASE +type: build diff --git a/spec/build/bsps/powerpc/haleakala/start.yml b/spec/build/bsps/powerpc/haleakala/start.yml new file mode 100644 index 0000000000..204dfd4180 --- /dev/null +++ b/spec/build/bsps/powerpc/haleakala/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/haleakala/start/start.S +target: start.o +type: build -- cgit v1.2.3