Fix a couple more reference to cd'ing to tools before executing configure.sh.

This commit is contained in:
Gregory Nutt 2018-05-09 17:04:00 -06:00
parent e4922ed9f0
commit 50106f0d2a
2 changed files with 7 additions and 8 deletions

View File

@ -1403,16 +1403,14 @@ tools/
accomplish the same configuration:
</p>
<ul><pre>
cd tools
./configure.sh <i>&lt;board-name&gt;</i>[/<i>&lt;config-dir&gt;</i>]
tools/configure.sh <i>&lt;board-name&gt;</i>[/<i>&lt;config-dir&gt;</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>
cd tools
configure.bat <i>&lt;board-name&gt;</i>[\<i>&lt;config-dir&gt;</i>]
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.
@ -1423,8 +1421,7 @@ tools/
then you should also specify the location of the application directory on the command line like:
</p>
<ul><pre>
cd tools
./configure.sh -a &lt;app-dir&gt; <i>&lt;board-name&gt;</i>[/<i>&lt;config-dir&gt;</i>]
tools/configure.sh -a &lt;app-dir&gt; <i>&lt;board-name&gt;</i>[/<i>&lt;config-dir&gt;</i>]
</pre></ul>
<p>

View File

@ -369,8 +369,10 @@ clean_context:
check_context:
$(Q) if [ ! -e ${TOPDIR}/.config -o ! -e ${TOPDIR}/Make.defs ]; then \
echo "" ; echo "Nuttx has not been configured:" ; \
echo " cd tools; ./configure.sh <target>" ; echo "" ; \
echo "" ; \
echo "Nuttx has not been configured:" ; \
echo " tools/configure.sh <target>" ; \
echo "" ; \
exit 1 ; \
fi