[OpenWrt-Devel] Module option in Makefile?
blogic at openwrt.org
Fri Feb 13 02:09:39 EST 2015
On 12/02/2015 20:34, Matti Laakso wrote:
> Is there a way to specify in a Makefile for a kernel module that the entry
> under /etc/modules.d should be created with a specific option? For example
> mymodule option=1
that syntax is already supported by kmodloader
> I looked through ModuleAutoLoad in include/kernel.mk, but couldn't figure
> out a way...
yes, missing feature inside the makefiles.
i would suggest adding a 3rd parameter to probe_module and a 4th
parameter to add_module and then extend the echo call inside the 2 for
loops to also print the value to the files in /etc/modules.d/
> Matti Laakso
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel