Remove circular dependency
[openwrt.git] / target / squashfs-lzma / Makefile
index 8e7e8e4..2664ed7 100644 (file)
@@ -1,16 +1,16 @@
 include $(TOPDIR)/rules.mk
 include ./squashfslzmaroot.mk
 
-TARGETS:=$(BIN_DIR)/openwrt-generic-squashfs.trx
+SQUASHFS_TARGETS:=$(BIN_DIR)/openwrt-generic-squashfs.trx
 
 prepare: $(SQUASHFSLZMA_DIR)/.unpacked
 compile: squashfslzma
-install: $(TARGETS)
+install: $(SQUASHFS_TARGETS)
 clean: squashfslzmaroot-dirclean
 
 $(BIN_DIR)/openwrt-generic-squashfs.trx:
        @mkdir -p $(TARGET_DIR)/jffs
-       $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le
-       PATH=$(TARGET_PATH) trx -o $@ $(LINUX_LOADER) \
+       PATH=$(TARGET_PATH) mksquashfs-lzma $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le
+       PATH=$(TARGET_PATH) trx -o $@ $(BUILD_DIR)/loader.gz \
         $(LINUX_IMAGE) $(IMAGE).squashfslzma
         
This page took 0.036663 seconds and 4 git commands to generate.