projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2b40c
)
contrib/uci: apply patch series during host uci build
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 7 Oct 2009 23:12:27 +0000
(23:12 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 7 Oct 2009 23:12:27 +0000
(23:12 +0000)
contrib/uci/Makefile
patch
|
blob
|
history
diff --git
a/contrib/uci/Makefile
b/contrib/uci/Makefile
index 19625aa723241363e47193247100ecf0a6e8393a..98e5ed439807a70f76d62677363e182900d64ade 100644
(file)
--- a/
contrib/uci/Makefile
+++ b/
contrib/uci/Makefile
@@
-23,9
+23,12
@@
$(UCI_FILE):
$(UCI_PATCHDIR)/series:
(cd $(UCI_PATCHDIR); ls *.patch | sort > series)
-$(UCI_DIR)/.prepared: $(UCI_FILE)
+$(UCI_DIR)/.prepared: $(UCI_
PATCHDIR)/series $(UCI_
FILE)
rm -rf $(UCI_DIR)
tar xvfz $(UCI_FILE)
+ while read patch; do \
+ patch -d $(UCI_DIR) -p1 < $(UCI_PATCHDIR)/$$patch; \
+ done < $(UCI_PATCHDIR)/series
touch $@
compile: $(UCI_DIR)/.prepared