projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b1c0ef
)
fix module autoload option
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Oct 2006 21:43:41 +0000
(21:43 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Oct 2006 21:43:41 +0000
(21:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5201
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
include/kernel.mk
patch
|
blob
|
history
diff --git
a/include/kernel.mk
b/include/kernel.mk
index
9273817
..
7c0ba6d
100644
(file)
--- a/
include/kernel.mk
+++ b/
include/kernel.mk
@@
-70,7
+70,11
@@
define ModuleAutoLoad
export modules=; \
add_module() { \
mkdir -p $(2)/etc/modules.d; \
- echo "$$$$$$$$2" > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
+ ( \
+ for mod in $$$$$$$$2; do \
+ getvar mod; \
+ done \
+ ) > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \
}; \
$(3) \
This page took
0.023594 seconds
and
4
git commands to generate.