1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 13:37:32 +02:00
openwrt-xburst/openwrt/target/squashfs-lzma/Makefile
nbd d4acdafcf7 add openwrt image builder to sdk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-20 17:01:30 +00:00

17 lines
509 B
Makefile

include $(TOPDIR)/rules.mk
include ./squashfslzmaroot.mk
SQUASHFS_TARGETS:=$(BIN_DIR)/openwrt-generic-squashfs.trx
prepare: $(SQUASHFSLZMA_DIR)/.unpacked
compile: squashfslzma
install: $(SQUASHFS_TARGETS)
clean: squashfslzmaroot-dirclean
$(BIN_DIR)/openwrt-generic-squashfs.trx:
@mkdir -p $(TARGET_DIR)/jffs
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