1
0

Makefile 761 B

123456789101112131415161718192021222324252627
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= squashfs
  5. PKG_VERSION:= 4.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= a3c23391da4ebab0ac4a75021ddabf96
  8. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=squashfs/}
  9. DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tar.gz
  10. WRKDIST= ${WRKDIR}/$(PKG_NAME)${PKG_VERSION}
  11. include ../rules.mk
  12. all: ${STAGING_HOST_DIR}/bin/mksquashfs
  13. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  14. ${MAKE} -C ${WRKBUILD}/squashfs-tools CC='${CC_FOR_BUILD}'
  15. touch $@
  16. ${STAGING_HOST_DIR}/bin/mksquashfs: $(WRKBUILD)/.compiled
  17. $(INSTALL_BIN) $(WRKBUILD)/squashfs-tools/mksquashfs \
  18. ${STAGING_HOST_DIR}/bin
  19. include $(TOPDIR)/mk/tools.mk