Skip to content

Commit 400a91e

Browse files
ujfalusilgirdwood
authored andcommitted
build-guide: Switch to gcc10.2-gdb9 for crosstool-ng and xtensa-overlay
config-*-gcc8.1-gdb8.1 no longer builds for various reasons for different platforms, switch to gcc10.2-gdb9 configs. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 8fc8b49 commit 400a91e

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎getting_started/build-guide/build-from-scratch.rst‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,17 @@ platforms.
159159
crosstool-ng
160160
------------
161161

162-
Clone both repos and check out the ``sof-gcc8.1`` branch.
162+
Clone both repos and check out the ``sof-gcc10.2`` and ``sof-gcc10x`` branch.
163163

164164
.. code-block:: bash
165165
166166
cd "$SOF_WORKSPACE"
167167
git clone https://github.com/thesofproject/xtensa-overlay
168168
git clone https://github.com/thesofproject/crosstool-ng
169169
cd xtensa-overlay
170-
git checkout sof-gcc8.1
170+
git checkout sof-gcc10.2
171171
cd ../crosstool-ng
172-
git checkout sof-gcc8.1
172+
git checkout sof-gcc10x
173173
174174
Build crosstool-ng and install it in its own source directory.
175175

@@ -192,34 +192,34 @@ download gcc components.
192192
.. code-block:: bash
193193
194194
# Baytrail/Cherrytrail
195-
cp config-byt-gcc8.1-gdb8.1 .config
195+
cp config-byt-gcc10.2-gdb9 .config
196196
./ct-ng build
197197
# Haswell/Broadwell
198-
cp config-hsw-gcc8.1-gdb8.1 .config
198+
cp config-hsw-gcc10.2-gdb9 .config
199199
./ct-ng build
200200
# Apollo Lake
201-
cp config-apl-gcc8.1-gdb8.1 .config
201+
cp config-apl-gcc10.2-gdb9 .config
202202
./ct-ng build
203203
# Cannon Lake, Ice Lake and Jasper Lake
204-
cp config-cnl-gcc8.1-gdb8.1 .config
204+
cp config-cnl-gcc10.2-gdb9 .config
205205
./ct-ng build
206206
# i.MX8/i.MX8X
207-
cp config-imx-gcc8.1-gdb8.1 .config
207+
cp config-imx-gcc10.2-gdb9 .config
208208
./ct-ng build
209209
# i.MX8M
210-
cp config-imx8m-gcc8.1-gdb8.1 .config
210+
cp config-imx8m-gcc10.2-gdb9 .config
211211
./ct-ng build
212212
213213
``./ct-ng`` is a Linux kernel style Makefile; so the sample commands below
214-
can be used to fix some out of date ``config-*-gcc8.1-gdb8.1`` file or find
214+
can be used to fix some out of date ``config-*-gcc10.2-gdb9`` file or find
215215
default values missing from it:
216216

217217
.. code-block:: bash
218218
219219
./ct-ng help
220-
cp config-apl-gcc8.1-gdb8.1 .config
220+
cp config-apl-gcc10.2-gdb9 .config
221221
./ct-ng oldconfig V=1
222-
diff -u config-apl-gcc8.1-gdb8.1 .config
222+
diff -u config-apl-gcc10.2-gdb9 .config
223223
224224
"Install" toolchains by copying them to ``$SOF_WORKSPACE``.
225225

0 commit comments

Comments
 (0)