Explorar el Código

swupdate: Depend on util-linux if CONFIG_DISKPART is set

it depends on libfdisk/libfdisk.h for disk parition management
which is provided by util-linux

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Khem Raj hace 5 años
padre
commit
7ba76c507b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      recipes-support/swupdate/swupdate.inc

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

@@ -167,6 +167,9 @@ python () {
     if 'CONFIG_ZSTD=y\n' in features:
         depends += ' zstd'
 
+    if 'CONFIG_DISKPART=y\n' in features:
+        depends += ' util-linux'
+
     d.setVar('DEPENDS', depends)
 
     if 'CONFIG_MONGOOSE=y\n' in features: