Procházet zdrojové kódy

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 před 2 týdny
rodič
revize
fddbe24353
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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'