[rtems commit] spec/build/bsps: Add dtb support

Joel Sherrill joel at rtems.org
Tue Sep 20 16:52:13 UTC 2022


Module:    rtems
Branch:    master
Commit:    974c6ea9d6919eb2028956d7500c7d7fde63cec9
Changeset: http://git.rtems.org/rtems/commit/?id=974c6ea9d6919eb2028956d7500c7d7fde63cec9

Author:    Padmarao Begari <padmarao.begari at microchip.com>
Date:      Mon Sep 19 18:48:25 2022 +0530

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(+)

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



More information about the vc mailing list