fix 'argument list too long' error in mkdep
[openwrt.git] / target / linux / image / squashfs / Makefile
1 include $(TOPDIR)/rules.mk
2
3 SQUASHFSLZMA_DIR=$(BUILD_DIR)/squashfs2.2
4 SQUASHFSLZMA_SOURCE=squashfs2.2.tar.gz
5 SQUASHFSLZMA_SITE=@SF/squashfs
6 SQUASHFSLZMA_MD5SUM=9537f1bfa3efd5df722f1a85cd424414
7
8 $(DL_DIR)/$(SQUASHFSLZMA_SOURCE):
9 $(SCRIPT_DIR)/download.pl $(DL_DIR) $(SQUASHFSLZMA_SOURCE) $(SQUASHFSLZMA_MD5SUM) $(SQUASHFSLZMA_SITE)
10
11 $(SQUASHFSLZMA_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE)
12 zcat $(DL_DIR)/$(SQUASHFSLZMA_SOURCE) | tar -C $(BUILD_DIR) -xvf -
13 $(PATCH) $(SQUASHFSLZMA_DIR) ./patches
14 touch $(SQUASHFSLZMA_DIR)/.unpacked
15
16 $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma: $(SQUASHFSLZMA_DIR)/.unpacked
17 $(MAKE) -C $(SQUASHFSLZMA_DIR)/squashfs-tools mksquashfs-lzma LZMAPATH=$(BUILD_DIR)/lzma
18
19 $(STAGING_DIR)/bin/mksquashfs-lzma: $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma
20 cp $< $@
21
22 source: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE)
23 prepare: $(SQUASHFSLZMA_DIR)/.unpacked
24 compile: $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(STAGING_DIR)/bin/mksquashfs-lzma
25 install:
26 clean:
27 rm -rf $(SQUASHFSLZMA_DIR)
This page took 0.044137 seconds and 5 git commands to generate.