X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fflorian.git;a=blobdiff_plain;f=rules.mk;fp=rules.mk;h=ed796a54024adc4d4cbcb13d46a03bf6e0c1c8f5;hp=a3fe50b1dc0dfb4d1586ceb5bbf85a3fd36f5ebf;hb=5ef0854b1109ba2dbd1dd3d9f87ce5801002d0ba;hpb=d49ddcdfd27ba3d171b856f223712b88d5fc2046 diff --git a/rules.mk b/rules.mk index a3fe50b1dc..ed796a5402 100644 --- a/rules.mk +++ b/rules.mk @@ -29,7 +29,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 = (