diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-20 17:01:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-20 17:01:30 +0000 |
commit | 0b6de56062e2930e2020656ac1b17ba256b53f8f (patch) | |
tree | d1fffacb2df96b810546676651d6f394a8c54fe3 /target/squashfs-lzma | |
parent | 7f2207ac5c1d9159fdd6b73e7ce3da2a0514e83d (diff) | |
download | master-187ad058-0b6de56062e2930e2020656ac1b17ba256b53f8f.tar.gz master-187ad058-0b6de56062e2930e2020656ac1b17ba256b53f8f.tar.bz2 master-187ad058-0b6de56062e2930e2020656ac1b17ba256b53f8f.zip |
add openwrt image builder to sdk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@688 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/squashfs-lzma')
-rw-r--r-- | target/squashfs-lzma/Makefile | 6 | ||||
-rw-r--r-- | target/squashfs-lzma/squashfslzmaroot.mk | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/target/squashfs-lzma/Makefile b/target/squashfs-lzma/Makefile index 8da08b3909..2664ed7e21 100644 --- a/target/squashfs-lzma/Makefile +++ b/target/squashfs-lzma/Makefile @@ -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) mksquashfs-lzma $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le PATH=$(TARGET_PATH) trx -o $@ $(BUILD_DIR)/loader.gz \ $(LINUX_IMAGE) $(IMAGE).squashfslzma diff --git a/target/squashfs-lzma/squashfslzmaroot.mk b/target/squashfs-lzma/squashfslzmaroot.mk index ca493d7782..11b2b76bea 100644 --- a/target/squashfs-lzma/squashfslzmaroot.mk +++ b/target/squashfs-lzma/squashfslzmaroot.mk @@ -16,10 +16,13 @@ $(SQUASHFSLZMA_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE) patch -d $(SQUASHFSLZMA_DIR) -p1 < squashfs2.0-tools-lzma.patch touch $(SQUASHFSLZMA_DIR)/.unpacked -$(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs: $(SQUASHFSLZMA_DIR)/.unpacked +$(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma: $(SQUASHFSLZMA_DIR)/.unpacked $(MAKE) -C $(SQUASHFSLZMA_DIR)/squashfs-tools mksquashfs-lzma LZMAPATH=$(BUILD_DIR)/lzma -squashfslzma: $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs +$(STAGING_DIR)/bin/mksquashfs-lzma: $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma + cp $< $@ + +squashfslzma: $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(STAGING_DIR)/bin/mksquashfs-lzma squashfslzma-source: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE) |