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-18 13:48:17 +0100 |
commit | d3b5389e7dfe082b872ffbd290578ed216603cc3 (patch) | |
tree | 2bd7ea0d4b1785b802afce7df8799dab51e3b6a6 /meta/recipes-bsp/opensbi | |
parent | 5e2f0c8120b69d63df8aedd7669ea108c20c8484 (diff) | |
download | poky-d3b5389e7dfe082b872ffbd290578ed216603cc3.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.
(From OE-Core rev: 3a6bcd97f5239c73f036cd64b93a3ef8515d29a6)
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/opensbi')
-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): | |||
30 | return "virtual/kernel:do_deploy" | 30 | return "virtual/kernel:do_deploy" |
31 | if 'u-boot.bin' in sbi_payload: | 31 | if 'u-boot.bin' in sbi_payload: |
32 | return "virtual/bootloader:do_deploy" | 32 | return "virtual/bootloader:do_deploy" |
33 | if sbi_fdt != "": | ||
34 | return "virtual/kernel:do_deploy" | ||
33 | 35 | ||
34 | return "" | 36 | return "" |