diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-10-16 09:49:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-17 21:54:42 +0100 |
commit | 3a6bcd97f5239c73f036cd64b93a3ef8515d29a6 (patch) | |
tree | d6371be199eca6721bf3cffb4ccd69a58eb83d59 /meta/recipes-bsp | |
parent | 50d99faf88a1d82cbd939b9bd6e33ebed2b1ffd8 (diff) | |
download | openembedded-core-contrib-3a6bcd97f5239c73f036cd64b93a3ef8515d29a6.tar.gz |
opensbi-payloads: Add dependency on kernel if fdt is set
fdts are built as part of kernel, so add missing dependency on kernel
deploy task
Fixes opensbi build errors
| make: *** No rule to make target '/mnt/b/yoe/master/build/tmp/deploy/images/unmatched/hifive-unmatched-a00.dtb', needed
by '/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opensbi/0.9+gitAUTOINC+bd355213bf-r0/git/build/platform/gene
ric/firmware/fw_dynamic.o'. Stop.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/opensbi/opensbi-payloads.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-bsp/opensbi/opensbi-payloads.inc b/meta/recipes-bsp/opensbi/opensbi-payloads.inc index ce537c0587..e590a27573 100644 --- a/meta/recipes-bsp/opensbi/opensbi-payloads.inc +++ b/meta/recipes-bsp/opensbi/opensbi-payloads.inc @@ -30,5 +30,7 @@ def riscv_get_do_compile_depends(d): return "virtual/kernel:do_deploy" if 'u-boot.bin' in sbi_payload: return "virtual/bootloader:do_deploy" + if sbi_fdt != "": + return "virtual/kernel:do_deploy" return "" |