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/x86_64/amd64/abi.yml | 19 +++++++++++ spec/build/bsps/x86_64/amd64/bspamd64.yml | 57 +++++++++++++++++++++++++++++++ spec/build/bsps/x86_64/amd64/start.yml | 14 ++++++++ spec/build/bsps/x86_64/grp.yml | 18 ++++++++++ 4 files changed, 108 insertions(+) create mode 100644 spec/build/bsps/x86_64/amd64/abi.yml create mode 100644 spec/build/bsps/x86_64/amd64/bspamd64.yml create mode 100644 spec/build/bsps/x86_64/amd64/start.yml create mode 100644 spec/build/bsps/x86_64/grp.yml (limited to 'spec/build/bsps/x86_64') diff --git a/spec/build/bsps/x86_64/amd64/abi.yml b/spec/build/bsps/x86_64/amd64/abi.yml new file mode 100644 index 0000000000..ca5a815c24 --- /dev/null +++ b/spec/build/bsps/x86_64/amd64/abi.yml @@ -0,0 +1,19 @@ +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: +- -mno-red-zone +- -mcmodel=large +- -Werror=return-type +default-by-variant: [] +description: | + ABI flags +enabled-by: true +links: [] +name: ABI_FLAGS +type: build diff --git a/spec/build/bsps/x86_64/amd64/bspamd64.yml b/spec/build/bsps/x86_64/amd64/bspamd64.yml new file mode 100644 index 0000000000..f11beb15c3 --- /dev/null +++ b/spec/build/bsps/x86_64/amd64/bspamd64.yml @@ -0,0 +1,57 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: x86_64 +bsp: amd64 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: amd64 +includes: [] +install: +- destination: ${BSP_INCLUDEDIR} + source: + - bsps/x86_64/amd64/include/apic.h + - bsps/x86_64/amd64/include/bsp.h + - bsps/x86_64/amd64/include/clock.h + - bsps/x86_64/amd64/include/pic.h + - bsps/x86_64/amd64/include/start.h + - bsps/x86_64/amd64/include/tm27.h +- destination: ${BSP_LIBDIR} + source: + - bsps/x86_64/amd64/start/linkcmds +links: +- role: build-dependency + uid: ../../obj +- role: build-dependency + uid: ../../objirq +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: abi +- role: build-dependency + uid: start +- role: build-dependency + uid: ../grp +- role: build-dependency + uid: ../../bspopts +source: +- bsps/shared/cache/nocache.c +- bsps/shared/dev/btimer/btimer-stub.c +- bsps/shared/dev/getentropy/getentropy-cpucounter.c +- bsps/shared/dev/serial/console-termios-init.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/bspreset-empty.c +- bsps/shared/start/sbrk.c +- bsps/x86_64/amd64/clock/clock.c +- bsps/x86_64/amd64/console/console.c +- bsps/x86_64/amd64/interrupts/idt.c +- bsps/x86_64/amd64/interrupts/isr_handler.S +- bsps/x86_64/amd64/interrupts/pic.c +- bsps/x86_64/amd64/start/bspstart.c +- bsps/x86_64/amd64/start/page.c +type: build diff --git a/spec/build/bsps/x86_64/amd64/start.yml b/spec/build/bsps/x86_64/amd64/start.yml new file mode 100644 index 0000000000..3687f53f5b --- /dev/null +++ b/spec/build/bsps/x86_64/amd64/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/x86_64/amd64/start/start.S +target: start.o +type: build diff --git a/spec/build/bsps/x86_64/grp.yml b/spec/build/bsps/x86_64/grp.yml new file mode 100644 index 0000000000..376bab2393 --- /dev/null +++ b/spec/build/bsps/x86_64/grp.yml @@ -0,0 +1,18 @@ +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/x86_64/include/bsp/irq.h +- destination: ${BSP_INCLUDEDIR}/libcpu + source: + - bsps/x86_64/include/libcpu/page.h +ldflags: [] +links: [] +type: build +use-after: [] +use-before: [] -- cgit v1.2.3