spec/build/bsps: Add dtb support

Add dtb and dtb header path configurable build option
This commit is contained in:
Padmarao Begari
2022-09-19 18:30:25 +05:30
committed by Joel Sherrill
parent 9cdc00881e
commit 974c6ea9d6
2 changed files with 39 additions and 0 deletions

View File

@@ -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

View File

@@ -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