package/opkg: add xz suspport

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
[yann.morin.1998@free.fr: drop option, use package as condition]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Adam Duskett 2023-10-23 11:24:57 +02:00 committed by Yann E. MORIN
parent 6d55ba0f8a
commit 23a669456f

View File

@ -22,6 +22,13 @@ else
OPKG_CONF_OPTS += --disable-gpg
endif
ifeq ($(BR2_PACKAGE_XZ),y)
OPKG_DEPENDENCIES += xz
OPKG_CONF_OPTS += --enable-xz
else
OPKG_CONF_OPTS += --disable-xz
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
OPKG_DEPENDENCIES += zstd
OPKG_CONF_OPTS += --enable-zstd