I want to pass an argument to one of the driver, but couldn't found any example 
for it.
I know that argument can be passed in /etc/modules.d/<file> but I don't know 
what should I write and where,
before building OpenWrt so that, that option  gets reflected in /etc/modules.d/<file> and 
it will have content: <driver> <arg>

Hi Pratik -

You can add new files and overwrite existing files by putting them in the <buildroot>/files directory path before building the image. In your case, you want to create <buildroot>/files/etc/modules.d/<file>. It will then end up in the correct place in <buildroot>/build_dir/<target>/root-xxx/...

See "Custom files" at: https://wiki.openwrt.org/doc/howto/build

/ted _______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to