Przeglądaj źródła

depend on efibootguard if CONFIG_BOOTLOADER_EBG=y

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Adrian Freihofer 6 lat temu
rodzic
commit
c904f64793
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      recipes-support/swupdate/swupdate.inc

+ 4 - 0
recipes-support/swupdate/swupdate.inc

@@ -102,6 +102,10 @@ python () {
 
     if 'CONFIG_MONGOOSE_WEB_API_V2=y\n' in features:
         d.setVar('SWUPDATE_WWW', 'webapp')
+
+    if 'CONFIG_BOOTLOADER_EBG=y\n' in features:
+        depends = d.getVar('DEPENDS', False)
+        d.setVar('DEPENDS', depends + ' efibootguard')
 }
 
 do_configure () {