X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/22ba317f5174d231be82f368381216404d4032f3..66474e3957a44d4354510169381be896f79331fc:/openwrt/target/squashfs-lzma/squashfslzmaroot.mk?ds=sidebyside diff --git a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk index 1aa80e002..62b7dbb7b 100644 --- a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk +++ b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk @@ -9,7 +9,7 @@ SQUASHFSLZMA_SOURCE=squashfs2.1-r2-lzma.tar.gz 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 - @@ -36,27 +36,7 @@ squashfslzma-dirclean: # ############################################################# -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