This patch allows to specify parameters to kernel modules in the autoload
function using the char '/' as separator.
E.g. from madwifi Makefile:
MADWIFI_AUTOLOAD+= ath_pci/autocreate=none
--
Index: include/kernel.mk
===================================================================
--- include/kernel.mk (revisione 12076)
+++ include/kernel.mk (copia locale)
@@ -76,7 +76,7 @@
for mod in $$$$$$$$2; do \
getvar mod; \
done \
- ) > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
+ ) | sed -e 's|/| |g' > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \
}; \
$(3) \
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel