docs: fix instructions for building toolchain on macOS

Closes https://github.com/espressif/esp-idf/issues/503
Closes https://github.com/espressif/esp-idf/issues/2607
This commit is contained in:
Ivan Grokhotkov
2018-10-22 13:45:09 +08:00
parent d3f5882ed7
commit c8fe9f696c
5 changed files with 37 additions and 19 deletions

View File

@@ -51,12 +51,14 @@ Compile the Toolchain from Source
TODO
Download ``crosstool-NG`` and build it::
Create the working directory and go into it::
cd ~/esp
git clone -b xtensa-1.22.x https://github.com/espressif/crosstool-NG.git
cd crosstool-NG
./bootstrap && ./configure --enable-local && make install
mkdir -p ~/esp
cd ~/esp
Download ``crosstool-NG`` and build it:
.. include:: /_build/inc/scratch-build-code.inc
Build the toolchain::