riscv-pk: depend on virtual/kernel:do_deploy

bbl_payload requires the kernel deployed artifacts (e.g. vmlinux) during
compile time in order to generate the final bbl binary, so add
virtual/kernel:do_deploy as a do_compile dependency to get the
dependency task in the expected order.

Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
This commit is contained in:
Ricardo Salveti
2018-05-15 19:04:20 -03:00
committed by Khem Raj
parent 3adeec9dc3
commit e07da3d676

View File

@@ -21,7 +21,8 @@ INHIBIT_PACKAGE_STRIP = "1"
S = "${WORKDIR}/git"
DEPENDS = "virtual/kernel"
# bbl_payload needs kernel deployed artifacts (e.g. vmlinux)
do_compile[depends] += "virtual/kernel:do_deploy"
do_install_prepend () {
install -d ${D}${datadir}/riscv-pk