read wep keys from the driver's private data instead of the shmem (can get key length...
[openwrt.git] / openwrt / target / squashfs-lzma / Makefile
1 include $(TOPDIR)/rules.mk
2
3 SQUASHFSLZMA_DIR=$(BUILD_DIR)/squashfs2.1-r2
4 SQUASHFSLZMA_SOURCE=squashfs2.1-r2.tar.gz
5 SQUASHFSLZMA_SITE=@SF/squashfs
6 SQUASHFSLZMA_MD5SUM=ffa24eff13b2ca51ed6990d15237e4c1
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)
28
29 FILESYSTEMS:=squashfs
30 define squashfs_template
31 @mkdir -p $(1)/root/jffs
32 PATH=$(TARGET_PATH) mksquashfs-lzma $(1)/root $(1)/root.squashfs -noappend -root-owned -le
33 PATH=$(TARGET_PATH) trx -o $@ $(BUILD_DIR)/loader.gz \
34 $(1)/kernel-image $(1)/root.squashfs
35 endef
36 include ../image.mk
This page took 0.040737 seconds and 5 git commands to generate.