2 # Copyright (C) 2009-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_CPE
=cpe
:/a
:phillip_lougher
:squashfs
14 PKG_SOURCE_DATE
:=2017-09-22
15 PKG_SOURCE_URL
:=https
://github.com
/squashfskit
/squashfskit.git
16 PKG_SOURCE_VERSION
:=b5a44ba5eeb7cdd1ef403b301ac285a036f24921
17 PKG_MIRROR_HASH
:=0a5235b3499007105259db6c34a3b2c679bcaeb0208443cd24fae530b8f14d33
19 include $(INCLUDE_DIR
)/host-build.mk
22 $(MAKE
) -C
$(HOST_BUILD_DIR
)/squashfs-tools \
27 LZMA_LIB
="$(STAGING_DIR_HOST)/lib/liblzma.a" \
28 EXTRA_CFLAGS
="-I$(STAGING_DIR_HOST)/include" \
33 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/squashfs-tools
/mksquashfs
$(STAGING_DIR_HOST
)/bin
/mksquashfs4
34 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/squashfs-tools
/unsquashfs
$(STAGING_DIR_HOST
)/bin
/unsquashfs4
38 rm -f
$(STAGING_DIR_HOST
)/bin
/mksquashfs4
39 rm -f
$(STAGING_DIR_HOST
)/bin
/unsquashfs4
42 $(eval
$(call HostBuild
))