From 974c6ea9d6919eb2028956d7500c7d7fde63cec9 Mon Sep 17 00:00:00 2001 From: Padmarao Begari Date: Mon, 19 Sep 2022 18:30:25 +0530 Subject: spec/build/bsps: Add dtb support Add dtb and dtb header path configurable build option --- spec/build/bsps/optdtb.yml | 19 +++++++++++++++++++ spec/build/bsps/optdtbheaderpath.yml | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 spec/build/bsps/optdtb.yml create mode 100644 spec/build/bsps/optdtbheaderpath.yml diff --git a/spec/build/bsps/optdtb.yml b/spec/build/bsps/optdtb.yml new file mode 100644 index 0000000000..54ae7aa770 --- /dev/null +++ b/spec/build/bsps/optdtb.yml @@ -0,0 +1,19 @@ +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: + - riscv/mpfs64.* +description: | + the path to the header file containing the device tree binary. See the BSP + documentation for more information. +enabled-by: true +links: [] +name: BSP_DTB_IS_SUPPORTED +type: build diff --git a/spec/build/bsps/optdtbheaderpath.yml b/spec/build/bsps/optdtbheaderpath.yml new file mode 100644 index 0000000000..7e294ce058 --- /dev/null +++ b/spec/build/bsps/optdtbheaderpath.yml @@ -0,0 +1,20 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2022 On-Line Applications Research Corporation (OAR) +default: false +default-by-variant: +- value: bsp/mpfs-dtb.h + variants: + - riscv/mpfs64.* +description: | + the path to the header file containing the device tree binary. See the BSP + documentation for more information. +enabled-by: true +format: '{}' +links: [] +name: BSP_DTB_HEADER_PATH +type: build -- cgit v1.2.3