]> git.baikalelectronics.ru Git - openembedded-baikal.git/commitdiff
Build u-boot in order to complete core-image-minimal
authorBaikal Electronics <support@baikalelectronics.ru>
Tue, 27 Sep 2022 15:16:23 +0000 (18:16 +0300)
committerBaikal Electronics <support@baikalelectronics.ru>
Tue, 27 Sep 2022 15:16:23 +0000 (18:16 +0300)
meta-baikal/recipes-core/images/core-image-minimal.bbappend

index 113e3e538dfe7322bdf1d56fd51983796bee49d2..055e6ddf0e6a7e0739e2ff3f4f6fd16fa46439e2 100644 (file)
@@ -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)
+}