2 # Copyright (C) 2006 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
8 include $(INCLUDE_DIR)/target.mk
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://samba.org/ftp/ccache/
15 PKG_MD5SUM:=b952d75e9ca37209d608ea58d84135cd
18 include $(INCLUDE_DIR)/host-build.mk
20 ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
22 $(MAKE) CC="$(HOSTCC_NOCACHE)" -C $(HOST_BUILD_DIR)
26 -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
27 $(call Host/Clean/Default)
44 $(eval $(call HostBuild))