2 # Copyright (C) 2009 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
12 PKG_SOURCE
:=squashfs
$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=@SF
/squashfs
14 PKG_MD5SUM
:=1b7a781fb4cf8938842279bd3e8ee852
17 HOST_BUILD_DIR
:=$(BUILD_DIR_HOST
)/squashfs
$(PKG_VERSION
)
19 include $(INCLUDE_DIR
)/host-build.mk
22 $(MAKE
) -C
$(HOST_BUILD_DIR
)/squashfs-tools \
26 LZMA_LIB
="$(STAGING_DIR_HOST)/lib/liblzma.a" \
27 EXTRA_CFLAGS
="-I$(STAGING_DIR_HOST)/include" \
32 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/squashfs-tools
/mksquashfs
$(STAGING_DIR_HOST
)/bin
/mksquashfs4
33 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/squashfs-tools
/unsquashfs
$(STAGING_DIR_HOST
)/bin
/unsquashfs4
37 rm -f
$(STAGING_DIR_HOST
)/bin
/mksquashfs4
38 rm -f
$(STAGING_DIR_HOST
)/bin
/unsquashfs4
41 $(eval
$(call HostBuild
))