Dockerfile: add AMD/Vangogh gcc toolchain

Add AMD/Vangogh gcc toolchain.

Signed-off-by: SaiSurya Ch <saisurya.chakkaveeravenkatanaga@amd.com>
This commit is contained in:
SaiSurya Ch 2023-07-11 18:52:04 +05:30 committed by Liam Girdwood
parent 21b637e16a
commit 2475094eef
1 changed files with 3 additions and 2 deletions

View File

@ -93,7 +93,7 @@ RUN cd "$HOME" && \
git clone $CLONE_DEFAULTS --branch sof-gcc10x $CT_NG_REPO && \ git clone $CLONE_DEFAULTS --branch sof-gcc10x $CT_NG_REPO && \
cd crosstool-ng && \ cd crosstool-ng && \
./bootstrap && ./configure --prefix=`pwd` && make && make install && \ ./bootstrap && ./configure --prefix=`pwd` && make && make install && \
for arch in byt hsw apl cnl imx imx8m imx8ulp rn rmb mt8186 mt8195; do \ for arch in byt hsw apl cnl imx imx8m imx8ulp rn rmb vangogh mt8186 mt8195; do \
echo "$arch: ct-ng build start..." && \ echo "$arch: ct-ng build start..." && \
cp config-${arch}-gcc10.2-gdb9 .config && \ cp config-${arch}-gcc10.2-gdb9 .config && \
# replace the build dist to save space # replace the build dist to save space
@ -110,6 +110,7 @@ ENV PATH="/home/sof/work/xtensa-apl-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-cnl-elf/bin:${PATH}" ENV PATH="/home/sof/work/xtensa-cnl-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-rn-elf/bin:${PATH}" ENV PATH="/home/sof/work/xtensa-rn-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-rmb-elf/bin:${PATH}" ENV PATH="/home/sof/work/xtensa-rmb-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-vangogh-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-imx-elf/bin:${PATH}" ENV PATH="/home/sof/work/xtensa-imx-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-imx8m-elf/bin:${PATH}" ENV PATH="/home/sof/work/xtensa-imx8m-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-imx8ulp-elf/bin:${PATH}" ENV PATH="/home/sof/work/xtensa-imx8ulp-elf/bin:${PATH}"
@ -120,7 +121,7 @@ ARG NEWLIB_REPO=https://github.com/jcmvbkbc/newlib-xtensa.git
RUN cd "$HOME" && \ RUN cd "$HOME" && \
git clone $CLONE_DEFAULTS --branch xtensa $NEWLIB_REPO && \ git clone $CLONE_DEFAULTS --branch xtensa $NEWLIB_REPO && \
cd newlib-xtensa && \ cd newlib-xtensa && \
for arch in byt hsw apl cnl imx imx8m imx8ulp rn rmb mt8186 mt8195; do \ for arch in byt hsw apl cnl imx imx8m imx8ulp rn rmb vangogh mt8186 mt8195; do \
./configure --target=xtensa-${arch}-elf \ ./configure --target=xtensa-${arch}-elf \
--prefix=/home/sof/work/xtensa-root && \ --prefix=/home/sof/work/xtensa-root && \
make && make install && \ make && make install && \