From 3a6bcd97f5239c73f036cd64b93a3ef8515d29a6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 16 Oct 2021 09:49:01 -0700 Subject: 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 --- meta/recipes-bsp/opensbi/opensbi-payloads.inc | 2 ++ 1 file changed, 2 insertions(+) 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 "" -- cgit 1.2.3-korg