Przeglądaj źródła

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 tygodni temu
rodzic
commit
74a08c00b9
1 zmienionych plików z 3 dodań i 0 usunięć
  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'