Add tools/configure.c and configure.bat

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5478 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2013-01-04 21:37:31 +00:00
parent df7c89a69d
commit bff4d8ee60

View File

@ -1263,23 +1263,23 @@ tools/
|-- Makefile.host |-- Makefile.host
|-- Makefile.export |-- Makefile.export
|-- README.txt |-- README.txt
|-- configure.sh |-- configure.sh / configure.bat
|-- cfgparser.c |-- cfgparser.c
|-- cfgparser.h |-- cfgparser.h
|-- copydir.sh |-- copydir.sh / copydir.bat
|-- define.sh |-- define.sh / define.bat
|-- incdir.sh |-- incdir.sh / indir.bat
|-- indent.sh |-- indent.sh
|-- link.sh |-- link.sh / link.bat
|-- mkconfig.c |-- mkconfig.c
|-- mkdeps.sh |-- mkdeps.sh / mkdeps.bat
|-- mkexport.sh |-- mkexport.sh
|-- mkimage.sh |-- mkimage.sh
|-- mknulldeps.sh |-- mknulldeps.sh
|-- mkromfsimg.sh |-- mkromfsimg.sh
|-- mksyscall.c |-- mksyscall.c
|-- mkversion.c |-- mkversion.c
|-- unlink.sh |-- unlink.sh / unlink.bat
|-- version.sh |-- version.sh
`-- zipme.sh `-- zipme.sh
</pre></ul> </pre></ul>
@ -1416,17 +1416,28 @@ netutils/
</p> </p>
<ul><pre> <ul><pre>
cd tools cd tools
./configure.sh <i>&lt;board-name&gt;</i></i>[/<i>&lt;config-dir&gt;</i>] ./configure.sh <i>&lt;board-name&gt;</i>[/<i>&lt;config-dir&gt;</i>]
</pre></ul> </pre></ul>
<p> <p>
And if <code>configs/</code><i>&lt;board-name&gt;</i><code>/[</code><i>&lt;config-dir&gt;</i><code>/appconfig</code> There is an alternative Windows batch file, <code>configure.bat</code>, that can be used insteach of <code>configure.sh</code> in the windows native enironment like:
</p>
<ul><pre>
cd tools
configure.bat <i>&lt;board-name&gt;</i>[\<i>&lt;config-dir&gt;</i>]
</pre></ul>
<p>
See <code>tools/README.txt</code> for more information about these scripts.
</p>
<p>
If <code>configs/</code><i>&lt;board-name&gt;</i><code>/[</code><i>&lt;config-dir&gt;</i>]<code>/appconfig</code>
exists and your application directory is not in the standard loction (<config>../apps</config>), exists and your application directory is not in the standard loction (<config>../apps</config>),
then you should also specify the location of the application directory on the command line like: then you should also specify the location of the application directory on the command line like:
</p> </p>
<ul><pre> <ul><pre>
cd tools cd tools
./configure.sh -a &lt;app-dir&gt; <i>&lt;board-name&gt;</i></i>[/<i>&lt;config-dir&gt;</i>] ./configure.sh -a &lt;app-dir&gt; <i>&lt;board-name&gt;</i>[/<i>&lt;config-dir&gt;</i>]
</pre></ul> </pre></ul>
<p> <p>