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 ($(shell which ccache
),)
23 define Build
/Configure
24 $(call Build
/Configure
/Default
)
28 $(MAKE
) CC
="$(HOSTCC)" -C
$(PKG_BUILD_DIR
)
32 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
33 DESTDIR
="$(STAGING_DIR)" \
38 $(MAKE
) -C
$(PKG_BUILD_DIR
) uninstall
39 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
42 $(eval
$(call HostBuild
))