mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs/*-setup: Use --enable-local instead of --prefix=$PWD for ct-ng
This commit is contained in:
parent
41e29d7384
commit
2575d1dd70
@ -77,9 +77,11 @@ If you can't think of a reason why you need to build it yourself, then probably
|
|||||||
|
|
||||||
In any case, here are the steps to compile the toolchain yourself.
|
In any case, here are the steps to compile the toolchain yourself.
|
||||||
|
|
||||||
|
(Note: You will also need the prerequisite packages mentioned in step 0, above.)
|
||||||
|
|
||||||
- Install dependencies:
|
- Install dependencies:
|
||||||
|
|
||||||
- Ubuntu::
|
- Ubuntu pre-16.04::
|
||||||
|
|
||||||
sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex texinfo help2man libtool
|
sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex texinfo help2man libtool
|
||||||
|
|
||||||
@ -100,7 +102,7 @@ Download ``crosstool-NG`` and build it::
|
|||||||
cd ~/esp
|
cd ~/esp
|
||||||
git clone -b xtensa-1.22.x https://github.com/espressif/crosstool-NG.git
|
git clone -b xtensa-1.22.x https://github.com/espressif/crosstool-NG.git
|
||||||
cd crosstool-NG
|
cd crosstool-NG
|
||||||
./bootstrap && ./configure --prefix=$PWD && make install
|
./bootstrap && ./configure --enable-local && make install
|
||||||
|
|
||||||
Build the toolchain::
|
Build the toolchain::
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ Download ``crosstool-NG`` and build it::
|
|||||||
cd ~/esp
|
cd ~/esp
|
||||||
git clone -b xtensa-1.22.x https://github.com/espressif/crosstool-NG.git
|
git clone -b xtensa-1.22.x https://github.com/espressif/crosstool-NG.git
|
||||||
cd crosstool-NG
|
cd crosstool-NG
|
||||||
./bootstrap && ./configure --prefix=$PWD && make install
|
./bootstrap && ./configure --enable-local && make install
|
||||||
|
|
||||||
Build the toolchain::
|
Build the toolchain::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user