X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/99a469f9333da041b092a19717f70ec92317453d..6eed60365d39d10b8d9ae2a3e0a6f44df8b2976a:/include/kernel.mk diff --git a/include/kernel.mk b/include/kernel.mk index 480b9682c..1ca231282 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