[PATCH v2 2/4] spec/build/bsps: Add dtb support
Padmarao Begari
padmarao.begari at microchip.com
Mon Sep 19 13:00:25 UTC 2022
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
--
2.25.1
More information about the devel
mailing list