mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
tools/: Change preferred argument of configurations tools to use ':' as the delimiter between <board-name> and <config-name>. This is to emphasize that this is not a path; it is configuration specification.
The legacy '/' delimiter is still supported but not recommend and not advertised.
Squashed commit of the following:
Update configurations instructions in more README.txt files to show ':' delimiter vs '/' delimiter.
Update configurations instructions in various README.txt file to show ':' delimiter vs '/' delimiter.
tools: Update all configuration-related tools to accept ':' separator between board and configuration name.
This commit is contained in:
@@ -4215,9 +4215,7 @@ static FAR const struct nx_fontpackage_s *g_fontpackages[] =
|
||||
based upon a simple region of memory posing as video memory.
|
||||
That default configuration can be built as follows:
|
||||
<ul><pre>
|
||||
cd <NuttX-Directory>/tools
|
||||
./configure sim/nx
|
||||
cd <NuttX-Directory>
|
||||
tools/configure.sh sim:nx
|
||||
make
|
||||
./nuttx
|
||||
</pre></ul>
|
||||
@@ -4232,9 +4230,7 @@ make
|
||||
This preferred configuration can be built as follows:
|
||||
</p>
|
||||
<ul><pre>
|
||||
cd <NuttX-Directory>/tools
|
||||
./configure sim/nx11
|
||||
cd <NuttX-Directory>
|
||||
tools/configure sim:nx11
|
||||
make
|
||||
./nuttx
|
||||
</pre></ul>
|
||||
|
||||
@@ -1488,7 +1488,7 @@ tools/
|
||||
|-- cfgparser.h
|
||||
|-- cmpconfig.c
|
||||
|-- cnvwindeps.c
|
||||
|-- configure.sh / configure.bat
|
||||
|-- configure.sh / configure.bat / configure.c
|
||||
|-- copydir.sh / copydir.bat
|
||||
|-- define.sh / define.bat
|
||||
|-- discovery.py
|
||||
@@ -1578,14 +1578,14 @@ tools/
|
||||
accomplish the same configuration:
|
||||
</p>
|
||||
<ul><pre>
|
||||
tools/configure.sh [OPTIONS] <i><board-name></i>[/<i><config-dir></i>]
|
||||
tools/configure.sh [OPTIONS] <i><board-name></i>:<i><config-dir></i>
|
||||
</pre></ul>
|
||||
|
||||
<p>
|
||||
There is an alternative Windows batch file, <code>configure.bat</code>, that can be used instead of <code>configure.sh</code> in the windows native environment like:
|
||||
</p>
|
||||
<ul><pre>
|
||||
tools\configure.bat <i><board-name></i>[\<i><config-dir></i>]
|
||||
tools\configure.bat <i><board-name></i>:<i><config-dir></i>
|
||||
</pre></ul>
|
||||
<p>
|
||||
See <code>tools/README.txt</code> for more information about these scripts.
|
||||
@@ -1594,7 +1594,7 @@ tools/
|
||||
<ul><pre>
|
||||
$ tools/configure.sh -h
|
||||
|
||||
USAGE: tools/configure.sh [-d] [-l|m|c|u|g|n] [-a <app-dir>] <board-name>/<config-name>
|
||||
USAGE: tools/configure.sh [-d] [-l|m|c|u|g|n] [-a <app-dir>] <board-name>:<config-name>
|
||||
|
||||
Where:
|
||||
-l selects the Linux (l) host environment.
|
||||
@@ -1616,7 +1616,7 @@ Where:
|
||||
then you should also specify the location of the application directory on the command line like:
|
||||
</p>
|
||||
<ul><pre>
|
||||
tools/configure.sh -a <app-dir> <i><board-name></i>[/<i><config-dir></i>]
|
||||
tools/configure.sh -a <app-dir> <i><board-name></i>:<i><config-dir></i>
|
||||
</pre></ul>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user