Makefile 1017 B

123456789101112131415161718192021222324252627282930313233
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= ccache
  5. PKG_VERSION:= 4.13.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 4a7ef278b39d031b9ec524c0778d24bdb3e761940ed368060b54594f15559537
  8. PKG_DESCR:= compiler cache utility
  9. PKG_SECTION:= dev/tools
  10. HOST_BUILDDEP:= cmake-host
  11. PKG_SITES:= https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)/
  12. PKG_CFLINE_CCACHE:= depends on ADK_HOST_ONLY
  13. include $(ADK_TOPDIR)/mk/host.mk
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,CCACHE,ccache,$(PKG_VERSION)-${PKG_RELEASE}))
  16. HOST_STYLE:= cmake
  17. host-build:
  18. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  19. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
  20. hostpost-install:
  21. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  22. ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET})
  23. include ${ADK_TOPDIR}/mk/host-bottom.mk
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk