projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix libnl include issues which broke a few packages
[oweals/openwrt.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index 5c66dfde1a14942f3b220608c3a899f3db9605ba..d36c99495310c2558f8c32b5ac5dbff65e53780a 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-138,6
+138,11
@@
$(call shvar,$(1))=$$(call $(1))
export $(call shvar,$(1))
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)))