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

Christian Schoenebeck christian.schoenebeck at gmail.com
Tue Mar 24 00:11:54 EDT 2015


For me a shell script is doing the job. Calling parameter is the target.
I use a separate configuration directory beside building directory.
I copy the correct files for the target into the files directory 
and the correct .config into building directory
and then call make. All inside the script.

Christian

Am 23.03.2015 um 17:10 schrieb Nguyễn Hồng Quân:
> 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
> 
_______________________________________________
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