make the lzma version kernel version dependent, and only build the one we do need
[openwrt.git] / tools / squashfs4 / Makefile
index f172d3b..ddbca11 100644 (file)
@@ -20,6 +20,9 @@ include $(INCLUDE_DIR)/host-build.mk
 
 define Host/Compile
        $(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
+               USE_LZMA=1 \
+               LZMA_CFLAGS="-I$(STAGING_DIR_HOST)/include -DUSE_LZMA" \
+               LZMA_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \
                mksquashfs unsquashfs
 endef
 
This page took 0.021676 seconds and 4 git commands to generate.