Explorar o 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 %!s(int64=5) %!d(string=hai) anos
pai
achega
7ba76c507b
Modificáronse 1 ficheiros con 3 adicións e 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: