浏览代码

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: