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
+3 -6
View File
@@ -1403,16 +1403,14 @@ tools/
accomplish the same configuration: accomplish the same configuration:
</p> </p>
<ul><pre> <ul><pre>
cd tools tools/configure.sh <i>&lt;board-name&gt;</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>
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: 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> </p>
<ul><pre> <ul><pre>
cd tools tools\configure.bat <i>&lt;board-name&gt;</i>[\<i>&lt;config-dir&gt;</i>]
configure.bat <i>&lt;board-name&gt;</i>[\<i>&lt;config-dir&gt;</i>]
</pre></ul> </pre></ul>
<p> <p>
See <code>tools/README.txt</code> for more information about these scripts. 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: then you should also specify the location of the application directory on the command line like:
</p> </p>
<ul><pre> <ul><pre>
cd tools tools/configure.sh -a &lt;app-dir&gt; <i>&lt;board-name&gt;</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>
+4 -2
View File
@@ -369,8 +369,10 @@ clean_context:
check_context: check_context:
$(Q) if [ ! -e ${TOPDIR}/.config -o ! -e ${TOPDIR}/Make.defs ]; then \ $(Q) if [ ! -e ${TOPDIR}/.config -o ! -e ${TOPDIR}/Make.defs ]; then \
echo "" ; echo "Nuttx has not been configured:" ; \ echo "" ; \
echo " cd tools; ./configure.sh <target>" ; echo "" ; \ echo "Nuttx has not been configured:" ; \
echo " tools/configure.sh <target>" ; \
echo "" ; \
exit 1 ; \ exit 1 ; \
fi fi