projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update to latest madwifi snapshot - fixes some noderef bugs
[openwrt.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index
14ff5ac
..
d36c994
100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-138,12
+138,10
@@
$(call shvar,$(1))=$$(call $(1))
export $(call shvar,$(1))
endef
export $(call shvar,$(1))
endef
-define confvar
-$(1):=$$(strip $$($(1)))_
-$(foreach v,$(2),
- $(1):=$$(strip $$($(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)))
# file extension
ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1)))
This page took
0.02038 seconds
and
4
git commands to generate.