From: Khem Raj Date: Sat, 16 Oct 2021 16:49:01 +0000 (-0700) Subject: opensbi-payloads: Add dependency on kernel if fdt is set X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~6440 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6bcd97f5239c73f036cd64b93a3ef8515d29a6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Cc: Alistair Francis Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-bsp/opensbi/opensbi-payloads.inc b/meta/recipes-bsp/opensbi/opensbi-payloads.inc index ce537c0587c..e590a275731 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 ""