build: Alternative build system based on waf

Update #3818.
This commit is contained in:
Sebastian Huber
2019-07-19 13:09:43 +02:00
parent 9f096f4724
commit f3f0370f10
2071 changed files with 65911 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
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:
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/lm32/include/bsp/irq.h
- bsps/lm32/include/bsp/milkymist_ac97.h
- bsps/lm32/include/bsp/milkymist_buttons.h
- bsps/lm32/include/bsp/milkymist_dmx.h
- bsps/lm32/include/bsp/milkymist_flash.h
- bsps/lm32/include/bsp/milkymist_gpio.h
- bsps/lm32/include/bsp/milkymist_ir.h
- bsps/lm32/include/bsp/milkymist_memcard.h
- bsps/lm32/include/bsp/milkymist_midi.h
- bsps/lm32/include/bsp/milkymist_pfpu.h
- bsps/lm32/include/bsp/milkymist_tmu.h
- bsps/lm32/include/bsp/milkymist_usbinput.h
- bsps/lm32/include/bsp/milkymist_versions.h
- bsps/lm32/include/bsp/milkymist_video.h
ldflags: []
links: []
type: build
use-after: []
use-before: []

View File

@@ -0,0 +1,16 @@
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: []
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,21 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: lm32
bsp: lm32_evr_gdbsim
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: lm32_evr
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: ../../tstnointrcrit
source: []
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: lm32
bsp: lm32_evr
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: lm32_evr
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -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: optsim
- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirqdflt
- role: build-dependency
uid: ../../bspopts
type: build
use-after: []
use-before: []

View File

@@ -0,0 +1,33 @@
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/lm32/lm32_evr/include/bsp.h
- bsps/lm32/lm32_evr/include/system_conf.h
- bsps/lm32/lm32_evr/include/tm27.h
- destination: ${BSP_LIBDIR}
source:
- bsps/lm32/lm32_evr/start/linkcmds
links: []
source:
- bsps/lm32/shared/btimer/btimer.c
- bsps/lm32/shared/clock/ckinit.c
- bsps/lm32/shared/console/console.c
- bsps/lm32/shared/console/uart.c
- bsps/lm32/shared/start/bspreset.c
- bsps/lm32/shared/start/bspstart.c
- bsps/shared/cache/nocache.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/setvec.c
type: build

View File

@@ -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/lm32/shared/net/tsmac.c
type: build

View File

@@ -0,0 +1,18 @@
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:
- value: true
variants:
- lm32/lm32_evr_gdbsim
description: |
If defined, this indicates the BSP is being built to run on the lm32 simulator in GDB. This enables fast idle support which speeds 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. It also enables a special exit and alternate printk support.
enabled-by: true
links: []
name: LM32_ON_SIMULATOR
type: build

View File

@@ -0,0 +1,20 @@
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:
- -mbarrel-shift-enabled
- -mmultiply-enabled
- -mdivide-enabled
- -msign-extend-enabled
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,67 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: lm32
bsp: milkymist
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: milkymist
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/lm32/milkymist/include/bsp.h
- bsps/lm32/milkymist/include/system_conf.h
- bsps/lm32/milkymist/include/tm27.h
- destination: ${BSP_LIBDIR}
source:
- bsps/lm32/milkymist/start/linkcmds
links:
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: abi
- role: build-dependency
uid: objnet
- role: build-dependency
uid: optsim
- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirqdflt
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: ../../bspopts
source:
- bsps/lm32/milkymist/start/bspclean.c
- bsps/lm32/shared/irq/irq.c
- bsps/lm32/shared/milkymist_ac97/ac97.c
- bsps/lm32/shared/milkymist_buttons/buttons.c
- bsps/lm32/shared/milkymist_clock/ckinit.c
- bsps/lm32/shared/milkymist_console/console.c
- bsps/lm32/shared/milkymist_console/uart.c
- bsps/lm32/shared/milkymist_dmx/dmx.c
- bsps/lm32/shared/milkymist_flash/flash.c
- bsps/lm32/shared/milkymist_framebuffer/framebuffer.c
- bsps/lm32/shared/milkymist_gpio/gpio.c
- bsps/lm32/shared/milkymist_ir/ir.c
- bsps/lm32/shared/milkymist_memcard/memcard.c
- bsps/lm32/shared/milkymist_midi/midi.c
- bsps/lm32/shared/milkymist_pfpu/pfpu.c
- bsps/lm32/shared/milkymist_timer/timer.c
- bsps/lm32/shared/milkymist_tmu/tmu.c
- bsps/lm32/shared/milkymist_usbinput/usbinput.c
- bsps/lm32/shared/milkymist_versions/versions.c
- bsps/lm32/shared/milkymist_video/video.c
- bsps/lm32/shared/start/bspstart.c
- bsps/shared/cache/nocache.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/bspreset-empty.c
- bsps/shared/start/sbrk.c
type: build

View File

@@ -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/lm32/shared/net/network.c
type: build

View File

@@ -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, this indicates the BSP is being built to run on the lm32 simulator in GDB. This enables fast idle support which speeds 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. It also enables a special exit and alternate printk support.
enabled-by: true
links: []
name: LM32_ON_SIMULATOR
type: build

View File

@@ -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/lm32/shared/start/start.S
target: start.o
type: build