From bed9d0d00d2045cbaa79e4d18a0754f18c720b1e Mon Sep 17 00:00:00 2001 From: Baikal Electronics Date: Tue, 27 Sep 2022 18:16:23 +0300 Subject: [PATCH] Build u-boot in order to complete core-image-minimal --- .../recipes-core/images/core-image-minimal.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) 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) +} -- 2.39.5