fix libnl include issues which broke a few packages
[openwrt.git] / rules.mk
index 4a0fa32..d36c994 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -138,9 +138,10 @@ $(call shvar,$(1))=$$(call $(1))
 export $(call shvar,$(1))
 endef
 
-define confvar
-$(foreach v,$(1),$(if $($(v)),y,n))
-endef
+empty:=
+space:= $(empty) $(empty)
+merge=$(subst $(space),,$(1))
+confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n)))
 
 # file extension
 ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1)))
This page took 0.025809 seconds and 4 git commands to generate.