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@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to