Why not use ./scripts/env with your own batchfile? It has all the things you need for multiple hardware configurations on single buildroot... only thing you need to do is automate it with bash-script etc...
Sami Olmari On Mar 24, 2015 6:15 PM, "Nguyễn Hồng Quân" <ng.hong.q...@gmail.com> wrote: > Hi > > What I mean is each target device will have its own default config files. > I'm thinking about /etc/config/network and /etc/config/wireless. > > I want to dynamically generate the custom files of those "network", > "wireless" and place in files/ folder. I want to find the default files, > modify it and copy to files/ folder. The modification will be set SSID, set > wireless password... Those actions are done by script. > > The problem is I don't know where those default files are. > > > On Tue, Mar 24, 2015 at 12:11 PM, Christian Schoenebeck < > christian.schoeneb...@gmail.com> wrote: > >> 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. >> > > If I cannot know where those default are. I may have to use this approach. > > Thank nam228, when I look into the Makefile, I see it mentions "target" > folder. This may be a hint to look for. > > -- > Quân > *********************************************** > * Nguyễn Hồng Quân * > * Y!M: ng_hquan_vn * > * Facebook: ng.hong.quan * > * Web: 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