forked from Imagelibrary/rtems
spec/build/bsps: Add dtb support
Add dtb and dtb header path configurable build option
This commit is contained in:
committed by
Joel Sherrill
parent
9cdc00881e
commit
974c6ea9d6
19
spec/build/bsps/optdtb.yml
Normal file
19
spec/build/bsps/optdtb.yml
Normal 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
|
||||
20
spec/build/bsps/optdtbheaderpath.yml
Normal file
20
spec/build/bsps/optdtbheaderpath.yml
Normal 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
|
||||
Reference in New Issue
Block a user