openwrtv4/openwrt/target/squashfs-lzma/Makefile
2005-04-02 12:12:58 +00:00

16 lines
499 B
Makefile

include $(TOPDIR)/rules.mk
include ./squashfslzmaroot.mk
TARGETS:=$(BIN_DIR)/openwrt-generic-squashfs.trx
prepare: $(SQUASHFSLZMA_DIR)/.unpacked
compile: squashfslzma
install: $(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) \
$(LINUX_IMAGE) $(IMAGE).squashfslzma