Преглед на файлове

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 преди 5 години
родител
ревизия
7ba76c507b
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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: