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 PKG_BUILD_DIR
:=$(TOOLCHAIN_BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/host-build.mk
22 ifneq ($(strip $(shell which ccache
>/dev
/null
&& echo found
)),found
)
24 $(MAKE
) CC
="$(HOSTCC)" -C
$(PKG_BUILD_DIR
)
28 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 DESTDIR
="$(STAGING_DIR)" \
34 -$(MAKE
) -C
$(PKG_BUILD_DIR
) uninstall
35 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
36 $(call Build
/Clean
/Default
)
41 define Build
/Configure
49 $(eval
$(call HostBuild
))