1 #############################################################
5 #############################################################
7 SQUASHFS_DIR
=$(BUILD_DIR
)/squashfs2.1
-r2
8 SQUASHFS_SOURCE
=squashfs2.1
-r2.
tar.gz
9 SQUASHFS_SITE
=http
://dl.sourceforge.net
/sourceforge
/squashfs
11 $(DL_DIR
)/$(SQUASHFS_SOURCE
):
12 $(WGET
) -P
$(DL_DIR
) $(SQUASHFS_SITE
)/$(SQUASHFS_SOURCE
)
14 $(SQUASHFS_DIR
)/.unpacked
: $(DL_DIR
)/$(SQUASHFS_SOURCE
)
15 zcat
$(DL_DIR
)/$(SQUASHFS_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
16 touch
$(SQUASHFS_DIR
)/.unpacked
18 $(SQUASHFS_DIR
)/squashfs-tools
/mksquashfs
: $(SQUASHFS_DIR
)/.unpacked
19 $(MAKE
) -C
$(SQUASHFS_DIR
)/squashfs-tools
;
21 squashfs
: $(SQUASHFS_DIR
)/squashfs-tools
/mksquashfs
23 squashfs-source
: $(DL_DIR
)/$(SQUASHFS_SOURCE
)
26 -$(MAKE
) -C
$(SQUASHFS_DIR
)/squashfs-tools
clean
29 rm -rf
$(SQUASHFS_DIR
)
32 #############################################################
34 # Build the squashfs root filesystem image
36 #############################################################
38 squashfsroot
: squashfs
39 @
rm -rf
$(TARGET_DIR
)/usr
/man
40 @
rm -rf
$(TARGET_DIR
)/usr
/info
41 $(SQUASHFS_DIR
)/squashfs-tools
/mksquashfs
$(TARGET_DIR
) $(IMAGE
).squashfs
-noappend
-root-owned
-le
43 squashfsroot-source
: squashfs-source
46 -$(MAKE
) -C
$(SQUASHFS_DIR
) clean
48 squashfsroot-dirclean
:
49 rm -rf
$(SQUASHFS_DIR
)
This page took 0.063677 seconds and 5 git commands to generate.