1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96
10 PKG_DESCR
:= squashfs filesystem utilities
12 HOST_BUILDDEP
:= xz-host
13 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=squashfs
/}
15 DISTFILES
:= ${PKG_NAME}${PKG_VERSION}.
tar.gz
16 WRKDIST
= ${WRKDIR}/$(PKG_NAME
)${PKG_VERSION}
18 PKG_CFLINE_SQUASHFS
:= depends on ADK_HOST_ONLY
20 include $(ADK_TOPDIR
)/mk
/host.mk
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call HOST_template
,SQUASHFS
,squashfs
,$(PKG_VERSION
)-${PKG_RELEASE}))
26 HOST_MAKE_FLAGS
+= LZMA_SUPPORT
=0 XATTR_SUPPORT
=0 XZ_SUPPORT
=1 EXTRA_LDFLAGS
=$(LDFLAGS_FOR_BUILD
)
29 (cd
${WRKBUILD}/squashfs-tools
&& env
${HOST_MAKE_ENV} ${MAKE} -f
${MAKE_FILE} \
30 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
33 ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr
/bin
34 ${INSTALL_BIN} ${WRKBUILD}/squashfs-tools
/mksquashfs \
35 ${STAGING_HOST_DIR}/usr
/bin
37 include ${ADK_TOPDIR}/mk
/host-bottom.mk
38 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk