index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Felix Fietkau <nbd@openwrt.org>
2010-02-26 22:45:54 +0000
committer
Felix Fietkau <nbd@openwrt.org>
2010-02-26 22:45:54 +0000
commit
93489b721eacdaddbabe5156b16574aa42c231f0
(
patch
)
tree
40da9c1a7b2c069ff2421370cd42e4d2c5f2897e
parent
bfeb96126dedec0133b8fc5138225394a3ab3af3
(
diff
)
add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
SVN-Revision: 19878
Diffstat
-rw-r--r--
include/kernel.mk
5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 480b9682ce..1ca2312824 100644
--- a/
include/kernel.mk
+++ b/
include/kernel.mk
@@ -70,6 +70,9 @@ define ModuleAutoLoad
add_module() { \
mkdir -p $(2)/etc/modules.d; \
( \
+ [ "$$$$$$$$3" = "1" ] && { \
+ echo '# May be required for rootfs' ; \
+ } ; \
for mod in $$$$$$$$2; do \
getvar mod; \
done \
@@ -154,7 +157,7 @@ $(call KernelPackage/$(1)/config)
endef
define AutoLoad
- add_module $(1) "$(2)";
+ add_module $(1) "$(2)" $(3);
endef
ifdef DUMP