diff options
| author | Lukas Auer <[email protected]> | 2019-08-21 21:14:41 +0200 |
|---|---|---|
| committer | Andes <[email protected]> | 2019-08-26 16:07:42 +0800 |
| commit | 2c7686137b8e7b2e5e38cf9bbad30d885a93141e (patch) | |
| tree | 8f695d5304a0754dc9f222c06b48879fc742f151 /scripts/const_structs.checkpatch | |
| parent | c4f603f7233230879d91e9115b8f2730ec9be499 (diff) | |
Makefile: support building SPL FIT images without device trees
When building a U-Boot FIT image, the device trees specified by the
board are unconditionally built for inclusion in the FIT image. However,
not all device tree providers, such as CONFIG_OF_PRIOR_STAGE, require a
device tree to be built and bundled with the U-Boot binary. They rely on
other mechanisms to provide the device tree to U-Boot. Compilation on
boards with these device tree providers fails, because they do not
specify a device tree.
Change the makefile rules to conditionally build the device trees if
CONFIG_OF_SEPARATE, CONFIG_OF_EMBED, or CONFIG_OF_HOSTFILE is selected
as device tree provider.
Signed-off-by: Lukas Auer <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
