ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
define Host/Compile
- $(MAKE) CC="$(HOSTCC)" -C $(HOST_BUILD_DIR)
- endef
-
- define Host/Install
- $(MAKE) -C $(HOST_BUILD_DIR) install
+ $(MAKE) CC="$(HOSTCC_NOCACHE)" -C $(HOST_BUILD_DIR)
endef
define Host/Clean
endef
define Host/Clean
endef
+ define Download
+ endef
endif
$(eval $(call HostBuild))