1 ################################################################################
5 ################################################################################
7 SQUASHFS3_VERSION
= 3.4
8 SQUASHFS3_SOURCE
= squashfs
$(SQUASHFS3_VERSION
).
tar.gz
9 SQUASHFS3_SITE
= http
://downloads.sourceforge.net
/project
/squashfs
/squashfs
/$(SQUASHFS3_VERSION
)
11 SQUASHFS3_DEPENDENCIES
= zlib
13 define SQUASHFS3_BUILD_CMDS
14 $(TARGET_MAKE_ENV
) $(MAKE
) \
16 CFLAGS
="$(TARGET_CFLAGS)" \
17 LDFLAGS
="$(TARGET_LDFLAGS)" \
18 -C
$(@D
)/squashfs-tools
/
21 define SQUASHFS3_INSTALL_TARGET_CMDS
22 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)/squashfs-tools
/ INSTALL_DIR
=$(TARGET_DIR
)/usr
/bin
install
25 define HOST_SQUASHFS3_BUILD_CMDS
26 $(HOST_MAKE_ENV
) $(MAKE
) CFLAGS
="$(HOST_CFLAGS)" LDFLAGS
="$(HOST_LDFLAGS)" -C
$(@D
)/squashfs-tools
/
29 define HOST_SQUASHFS3_INSTALL_CMDS
30 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
)/squashfs-tools
/ INSTALL_DIR
=$(HOST_DIR
)/usr
/bin
install
33 $(eval
$(generic-package
))
34 $(eval
$(host-generic-package
))