Makefile 755 B

123456789101112131415161718192021222324252627
  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ccache
  9. PKG_VERSION:=4.8.1
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
  12. PKG_HASH:=87959b6819530b3dcaeb39992f585b9fc2c7120302809741378097774919fb6f
  13. include $(INCLUDE_DIR)/host-build.mk
  14. include $(INCLUDE_DIR)/cmake.mk
  15. CMAKE_HOST_OPTIONS += \
  16. -DCMAKE_C_COMPILER_LAUNCHER="" \
  17. -DCMAKE_CXX_COMPILER_LAUNCHER="" \
  18. -DCMAKE_SKIP_RPATH=FALSE \
  19. -DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
  20. -DENABLE_DOCUMENTATION=OFF \
  21. -DREDIS_STORAGE_BACKEND=OFF
  22. $(eval $(call HostBuild))