From: Baikal Electronics Date: Tue, 27 Sep 2022 15:16:23 +0000 (+0300) Subject: Build u-boot in order to complete core-image-minimal X-Git-Tag: baikal/mips/sdk6.1~19 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=bed9d0d00d2045cbaa79e4d18a0754f18c720b1e;p=openembedded-baikal.git Build u-boot in order to complete core-image-minimal --- diff --git a/meta-baikal/recipes-core/images/core-image-minimal.bbappend b/meta-baikal/recipes-core/images/core-image-minimal.bbappend index 113e3e5..055e6dd 100644 --- a/meta-baikal/recipes-core/images/core-image-minimal.bbappend +++ b/meta-baikal/recipes-core/images/core-image-minimal.bbappend @@ -48,3 +48,10 @@ baikal_build_bootrom () { } IMAGE_POSTPROCESS_COMMAND += "baikal_deploy;baikal_build_bootrom;" + +python () { + if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-baikal": + deps = d.getVar("RDEPENDS") + deps += " u-boot" + d.setVar("RDEPENDS", deps) +}