diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk index 5a4c08e0b2..53221ac31b 100644 --- a/package/opkg/opkg.mk +++ b/package/opkg/opkg.mk @@ -22,6 +22,13 @@ else OPKG_CONF_OPTS += --disable-gpg endif +ifeq ($(BR2_PACKAGE_LZ4),y) +OPKG_DEPENDENCIES += lz4 +OPKG_CONF_OPTS += --enable-lz4 +else +OPKG_CONF_OPTS += --disable-lz4 +endif + ifeq ($(BR2_PACKAGE_XZ),y) OPKG_DEPENDENCIES += xz OPKG_CONF_OPTS += --enable-xz