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
:=73c1ed1e767c1752dd0f548ec1e66ce7
18 include $(INCLUDE_DIR
)/host-build.mk
20 ifneq ($(strip $(shell which ccache
>/dev
/null
&& echo found
)),found
)
22 $(MAKE
) CC
="$(HOSTCC)" -C
$(PKG_BUILD_DIR
)
26 $(MAKE
) -C
$(PKG_BUILD_DIR
) install
30 -$(MAKE
) -C
$(PKG_BUILD_DIR
) uninstall
31 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
32 $(call Build
/Clean
/Default
)
37 define Build
/Configure
45 $(eval
$(call HostBuild
))