Add xz to DEPENDS so builds with CONFIG_XZ=y have the required headers and library available.
Signed-off-by: He Yong <
hyy...@163.com>
---
recipes-support/swupdate/swupdate.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index fa7a3f3..17715a4 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/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'
--
2.43.0