Add a simple script to try to run configure with the correct target name/type based...
commit4a549147adc851f3a590607cf1a1f2fef6682870
authorjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 28 Sep 2010 13:44:56 +0000 (28 13:44 +0000)
committerjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 28 Sep 2010 13:44:56 +0000 (28 13:44 +0000)
treec2776c605c47504eca2075aea0a1ed6ec1ff332c
parent42bb0524f4332048c5eae631ccfad1bda842f500
Add a simple script to try to run configure with the correct target name/type based on the build directory name.
~/rockbox/.../e200  -> e200, normal
~/rockbox/.../e200-sim -> e200, sim build
~/rockbox/.../sim/e200 -> e200, sim build
replace sim with "boot" for bootloader, falls back on normal if neither is given.

Run this from inside the build dir just like you would tools/configure

using the full shortname guarentees the correct match, as above e200 will work for sansae200.... asks for confirmation before doing anything.
Add your folder structure if this doesnt work for your way of doing things

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28180 a1c6a512-1295-4272-9138-f99709370657
tools/autoconf.pl [new file with mode: 0755]