mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
configs: Remove all setenv.bat files. Remove all references to setenv.sh and setenv.bat from all config README files.
This commit is contained in:
@@ -202,8 +202,8 @@ GNU Toolchain Options
|
||||
CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE=y : Raisonance RIDE7 under Windows
|
||||
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default)
|
||||
|
||||
If you change the default toolchain, then you may also have to modify the PATH in
|
||||
the setenv.h file if your make cannot find the tools.
|
||||
You may also have to modify the PATH environment variable if your make cannot
|
||||
find the tools.
|
||||
|
||||
NOTE: the CodeSourcery (for Windows), Atollic, devkitARM, and Raisonance toolchains are
|
||||
Windows native toolchains. The CodeSourcery (for Linux) and NuttX buildroot
|
||||
@@ -304,7 +304,7 @@ IDEs
|
||||
NuttX EABI buildroot Toolchain
|
||||
==============================
|
||||
|
||||
A GNU GCC-based toolchain is assumed. The files */setenv.sh should
|
||||
A GNU GCC-based toolchain is assumed. The PATH environment variable should
|
||||
be modified to point to the correct path to the Cortex-M3 GCC toolchain (if
|
||||
different from the default in your PATH variable).
|
||||
|
||||
@@ -340,14 +340,8 @@ NuttX EABI buildroot Toolchain
|
||||
-CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y
|
||||
+CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y
|
||||
|
||||
9. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||
the path to the newly built binaries.
|
||||
|
||||
-export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||
+#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||
|
||||
-#export TOOLCHAIN_BIN="${WD}/../buildroot/build_arm_nofpu/staging_dir/bin"
|
||||
+export TOOLCHAIN_BIN="${WD}/../buildroot/build_arm_nofpu/staging_dir/bin"
|
||||
9. Set the the PATH variable so tht it includes the path to the newly built
|
||||
binaries.
|
||||
|
||||
See the file configs/README.txt in the buildroot source tree. That has more
|
||||
detailed PLUS some special instructions that you will need to follow if you are
|
||||
@@ -408,8 +402,8 @@ NXFLAT Toolchain
|
||||
|
||||
7. make
|
||||
|
||||
8. Edit setenv.h, if necessary, so that the PATH variable includes
|
||||
the path to the newly builtNXFLAT binaries.
|
||||
8. Make sure that the PATH variable includes the path to the newly built
|
||||
NXFLAT binaries.
|
||||
|
||||
LEDs
|
||||
====
|
||||
@@ -721,7 +715,6 @@ can be selected as follow:
|
||||
cd tools
|
||||
./configure.sh shenzhou/<subdir>
|
||||
cd -
|
||||
. ./setenv.sh
|
||||
|
||||
Where <subdir> is one of the following:
|
||||
|
||||
@@ -802,7 +795,6 @@ Where <subdir> is one of the following:
|
||||
2. Make the build context (only)
|
||||
|
||||
$ cd ..
|
||||
$ . ./setenv.sh
|
||||
$ make context
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user