projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: clean up and optimize ipkg control generator code
[15.05/openwrt.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index
f44e8ed
..
8844a47
100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-21,6
+21,7
@@
qstrip=$(strip $(subst ",,$(1)))
empty:=
space:= $(empty) $(empty)
+comma:=,
merge=$(subst $(space),,$(1))
confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n)))
strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))