Add missing ulogd dependencies
[openwrt.git] / openwrt / target / squashfs-lzma / squashfslzmaroot.mk
1 #############################################################
2 #
3 # squashfs target
4 #
5 #############################################################
6
7 SQUASHFSLZMA_DIR=$(BUILD_DIR)/squashfs2.1-r2
8 SQUASHFSLZMA_SOURCE=squashfs2.1-r2.tar.gz
9 SQUASHFSLZMA_SITE=@SF/squashfs
10 SQUASHFSLZMA_MD5SUM=ffa24eff13b2ca51ed6990d15237e4c1
11
12 $(DL_DIR)/$(SQUASHFSLZMA_SOURCE):
13 $(SCRIPT_DIR)/download.pl $(DL_DIR) $(SQUASHFSLZMA_SOURCE) $(SQUASHFSLZMA_MD5SUM) $(SQUASHFSLZMA_SITE)
14
15 $(SQUASHFSLZMA_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE)
16 zcat $(DL_DIR)/$(SQUASHFSLZMA_SOURCE) | tar -C $(BUILD_DIR) -xvf -
17 patch -d $(SQUASHFSLZMA_DIR) -p1 < squashfs2.0-tools-lzma.patch
18 touch $(SQUASHFSLZMA_DIR)/.unpacked
19
20 $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma: $(SQUASHFSLZMA_DIR)/.unpacked
21 $(MAKE) -C $(SQUASHFSLZMA_DIR)/squashfs-tools mksquashfs-lzma LZMAPATH=$(BUILD_DIR)/lzma
22
23 $(STAGING_DIR)/bin/mksquashfs-lzma: $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma
24 cp $< $@
25
26 squashfslzma: $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(STAGING_DIR)/bin/mksquashfs-lzma
27
28 squashfslzma-source: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE)
29
30 squashfslzma-clean:
31 -$(MAKE) -C $(SQUASHFSLZMA_DIR)/squashfs-tools clean
32
33 squashfslzma-dirclean:
34 rm -rf $(SQUASHFSLZMA_DIR)
35
36
37 #############################################################
38 #
39 # Build the squashfs root filesystem image
40 #
41 #############################################################
42
43 squashfslzmaroot-source: squashfslzma-source
44
45 squashfslzmaroot-dirclean:
46 rm -rf $(SQUASHFSLZMA_DIR)
This page took 0.052476 seconds and 5 git commands to generate.