<p dir="ltr">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...</p>
<p dir="ltr"> Sami Olmari</p>
<div class="gmail_quote">On Mar 24, 2015 6:15 PM, "Nguyễn Hồng Quân" <<a href="mailto:ng.hong.quan@gmail.com">ng.hong.quan@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi<br><br></div>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.<br><br></div>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.<br><br></div>The problem is I don't know where those default files are.<br><div><div><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 24, 2015 at 12:11 PM, Christian Schoenebeck <span dir="ltr"><<a href="mailto:christian.schoenebeck@gmail.com" target="_blank">christian.schoenebeck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For me a shell script is doing the job. Calling parameter is the target.<br>
I use a separate configuration directory beside building directory.<br>
I copy the correct files for the target into the files directory<br>
and the correct .config into building directory<br>
and then call make. All inside the script.<br clear="all"></blockquote><div><br></div><div>If I cannot know where those default are. I may have to use this approach.<br><br></div><div>Thank nam228, when I look into the Makefile, I see it mentions "target" folder. This may be a hint to look for.<br></div></div><br>-- <br><div><div dir="ltr"><div><span style="font-family:courier new,monospace">Quân<br></span></div><div><span style="font-family:courier new,monospace">***********************************************<br>* Nguyễn Hồng Quân                            *<br>* Y!M: ng_hquan_vn                            *<br>* Facebook: ng.hong.quan                      *<br></span></div><span style="font-family:courier new,monospace">* Web: <a href="http://quan.hoabinh.vn" target="_blank">quan.hoabinh.vn</a>                        *<br></span><div><span style="font-family:courier new,monospace">***********************************************</span></div></div></div>
</div></div></div></div></div>
<br>_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
<br></blockquote></div>