浏览代码

swupdate: add xz dependency for CONFIG_XZ

Add xz to DEPENDS so builds with CONFIG_XZ=y have the required headers and library available.

Signed-off-by: He Yong <hyyoxhk@163.com>
He Yong 2 周之前
父节点
当前提交
fddbe24353
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      recipes-support/swupdate/swupdate.inc

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

@@ -198,6 +198,9 @@ python () {
     if 'CONFIG_ZSTD=y\n' in features:
         depends += ' zstd'
 
+    if 'CONFIG_XZ=y\n' in features:
+        depends += ' xz'
+
     if 'CONFIG_DISKPART=y\n' in features:
         depends += ' util-linux e2fsprogs'