X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fccache%2FMakefile;h=5d464e7ded5f75acba2c0be67b2de4d558076452;hb=7d79e3a84a98d3fb6a6394a9897f6a30cd2c15b9;hp=2a43a7e225a7d5576fd129227108a6e9f078f19a;hpb=ec726c48a9163e5052400c3e902700e85afba2d8;p=lede-git%2F.git diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile index 2a43a7e225..5d464e7ded 100644 --- a/tools/ccache/Makefile +++ b/tools/ccache/Makefile @@ -16,7 +16,8 @@ PKG_MD5SUM:=80a698c22d0b06b19c88ac58e8d8b632 include $(INCLUDE_DIR)/host-build.mk -HOSTCC:=$(HOSTCC_NOCACHE) +HOST_LDFLAGS += -static +HOST_CONFIGURE_VARS += CC="$(HOSTCC_NOCACHE)" define Host/Install/ccache $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/ @@ -24,10 +25,6 @@ define Host/Install/ccache endef ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found) - define Host/Compile - $(MAKE) -C $(HOST_BUILD_DIR) - endef - define Host/Clean -$(MAKE) -C $(HOST_BUILD_DIR) uninstall $(call Host/Clean/Default)