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,17 @@
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:
- -O2
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: or1k
bsp: generic_or1k
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: generic_or1k
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/or1k/generic_or1k/include/bsp.h
- bsps/or1k/generic_or1k/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/or1k/generic_or1k/include/bsp/generic_or1k.h
- bsps/or1k/generic_or1k/include/bsp/irq.h
- bsps/or1k/generic_or1k/include/bsp/uart.h
- destination: ${BSP_LIBDIR}
source:
- bsps/or1k/generic_or1k/start/linkcmds
- bsps/or1k/shared/start/linkcmds.base
links:
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../opto0
- role: build-dependency
uid: abi
- role: build-dependency
uid: optperiphclk
- role: build-dependency
uid: optresetvec
- role: build-dependency
uid: start
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../../tstnoiconv
- role: build-dependency
uid: ../../tstnointrcrit
- role: build-dependency
uid: ../../bspopts
source:
- bsps/or1k/generic_or1k/btimer/btimer.c
- bsps/or1k/generic_or1k/clock/clockdrv.c
- bsps/or1k/generic_or1k/console/console-config.c
- bsps/or1k/generic_or1k/console/uart.c
- bsps/or1k/generic_or1k/irq/irq.c
- bsps/or1k/generic_or1k/start/bspstart.c
- bsps/or1k/shared/cache/cache.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/bspreset-empty.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/stackalloc.c
type: build

View File

@@ -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: 50000000
default-by-variant: []
description: |
or1k PERIPHCLK clock frequency in Hz
enabled-by: true
format: '{}'
links: []
name: BSP_GENERIC_OR1K_PERIPHCLK
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: |
reset vector address for BSP start
enabled-by: true
links: []
name: BSP_START_RESET_VECTOR
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/or1k/generic_or1k/start/start.S
target: start.o
type: build

View File

@@ -0,0 +1,15 @@
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/or1k/include/bsp/linker-symbols.h
ldflags: []
links: []
type: build
use-after: []
use-before: []