enable multiqueue in the generic config
[openwrt.git] / tools / ccache / Makefile
1 #
2 # Copyright (C) 2006 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 include $(INCLUDE_DIR)/target.mk
9
10 PKG_NAME:=ccache
11 PKG_VERSION:=2.4
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://samba.org/ftp/ccache/
15 PKG_MD5SUM:=73c1ed1e767c1752dd0f548ec1e66ce7
16 PKG_CAT:=zcat
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
21 define Build/Compile
22 $(MAKE) CC="$(HOSTCC)" -C $(PKG_BUILD_DIR)
23 endef
24
25 define Build/Install
26 $(MAKE) -C $(PKG_BUILD_DIR) \
27 DESTDIR="$(STAGING_DIR_HOST)" \
28 install
29 endef
30
31 define Build/Clean
32 -$(MAKE) -C $(PKG_BUILD_DIR) uninstall
33 -$(MAKE) -C $(PKG_BUILD_DIR) clean
34 $(call Build/Clean/Default)
35 endef
36 else
37 define Build/Prepare
38 endef
39 define Build/Configure
40 endef
41 define Build/Compile
42 endef
43 define Build/Clean
44 endef
45 endif
46
47 $(eval $(call HostBuild))
This page took 0.048929 seconds and 5 git commands to generate.