SQUASHFSLZMA_SITE=http://openwrt.openbsd-geek.de
$(DL_DIR)/$(SQUASHFSLZMA_SOURCE):
- $(WGET) -P $(DL_DIR) $(SQUASHFSLZMA_SITE)/$(SQUASHFSLZMA_SOURCE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(SQUASHFSLZMA_SOURCE) x $(SQUASHFSLZMA_SITE)
$(SQUASHFSLZMA_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE)
zcat $(DL_DIR)/$(SQUASHFSLZMA_SOURCE) | tar -C $(BUILD_DIR) -xvf -
#
#############################################################
-squashfslzmaroot: squashfslzma
- @rm -rf $(TARGET_DIR)/usr/man
- @rm -rf $(TARGET_DIR)/usr/info
- $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma \
- $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le
-
squashfslzmaroot-source: squashfslzma-source
-squashfslzmaroot-clean:
- -$(MAKE) -C $(SQUASHFSLZMA_DIR) clean
-
squashfslzmaroot-dirclean:
rm -rf $(SQUASHFSLZMA_DIR)
-
-ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS_LZMA)),y)
-TARGETS+=squashfslzmaroot openwrt-image
-ROOTFS=squashfslzma
-
-openwrt-image: openwrt
- @make openwrt-code.bin TAG=W54G \
- EXTRAVERSION=$(EXTRAVERSION)-SQUASHFSLZMA
- @make openwrt-code.bin TAG=W54S \
- EXTRAVERSION=$(EXTRAVERSION)-SQUASHFSLZMA
-endif