X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=rules.mk;h=3558f2f0284eb041820623b5fd1e0e02abee80c2;hb=cb2c0649ee85f4247a112031bdab822bb4d98ff6;hp=a3fe50b1dc0dfb4d1586ceb5bbf85a3fd36f5ebf;hpb=202ae4cc6a910dec2441c45dfdf5814ac4d82518;p=oweals%2Fopenwrt.git diff --git a/rules.mk b/rules.mk index a3fe50b1dc..3558f2f028 100644 --- a/rules.mk +++ b/rules.mk @@ -21,6 +21,7 @@ DUMP:=1 endif export TMP_DIR:=$(TOPDIR)/tmp +export TMPDIR:=$(TMP_DIR) qstrip=$(strip $(subst ",,$(1))) #")) @@ -29,7 +30,7 @@ empty:= space:= $(empty) $(empty) comma:=, merge=$(subst $(space),,$(1)) -confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n))) +confvar=$(shell echo '$(foreach v,$(1),$(v)=$(subst ','\'',$($(v))))' | $(STAGING_DIR_HOST)/bin/mkhash md5) strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1)) paren_left = (