[OpenWrt-Devel] Dynamically generate custom files before building?

nam228 nampt282 at gmail.com
Mon Mar 23 22:05:09 EDT 2015


Hi a Quan,

I think you should try to modify "openwrt/Makefile"
Add your own script  for target devices.
After that when compiling  run "make target=XX" or something like that.

Nam.

On 24/03/2015 00:10, Nguyễn Hồng Quân wrote:
> Hello all
>
> If I want to build customized OpenWrt, I need to place all custom file 
> in files/ folder.
> The problem is that a set of custom files can only be applied to 1 
> device, i.e /etc/config/wireless file for TP Link router can not be 
> used for D-Link.
>
> Is there any way that I can use a script to modify the default config 
> file for each target device, create the one in files/ folder before 
> building? Where can I find the default /etc/config/wireless target device?
>
> Thanks
>
> -- 
> Quân
> ***********************************************
> * Nguyễn Hồng Quân *
> * Y!M: ng_hquan_vn *
> * Facebook: ng.hong.quan *
> * Web: quan.hoabinh.vn <http://quan.hoabinh.vn>                       *
> ***********************************************
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150324/284cd999/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list