X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fhost-build.mk;h=760d38b371f8fcb6af7acfcc3bd07e65647b0ae6;hb=01023ee8f91b69746d248c344501b3d39b5de576;hp=ad821f72c41a23e6e35704e07a51ee7818e76cfb;hpb=144c54e35a857cc2746723a949dd5c7eb9aa86ce;p=openwrt.git diff --git a/include/host-build.mk b/include/host-build.mk index ad821f72c4..760d38b371 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -55,7 +55,7 @@ HOST_CONFIGURE_VARS = \ CFLAGS="$(HOST_CFLAGS)" \ CPPFLAGS="$(HOST_CPPFLAGS)" \ LDFLAGS="$(HOST_LDFLAGS)" \ - SHELL="$(BASH)" + SHELL="$(SHELL)" HOST_CONFIGURE_ARGS = \ --target=$(GNU_HOST_NAME) \ @@ -73,12 +73,6 @@ HOST_MAKE_FLAGS = HOST_CONFIGURE_CMD = $(BASH) ./configure -ifneq ($(HOST_OS),Darwin) - ifeq ($(CONFIG_BUILD_STATIC_TOOLS),y) - HOST_STATIC_LINKING = -static - endif -endif - define Host/Configure/Default $(if $(HOST_CONFIGURE_PARALLEL),+)(cd $(HOST_BUILD_DIR)/$(3); \ if [ -x configure ]; then \ @@ -137,6 +131,7 @@ define Host/Exports/Default $(1) : export STAGING_PREFIX=$$(STAGING_DIR_HOST) $(1) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig $(1) : export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig + $(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache endef Host/Exports=$(Host/Exports/Default)