ソースを参照

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'