docker: Add support for i.MX8ULP platform

This commit adds support for building i.MX8ULP toolchain support.

Signed-off-by: Bud Liviu-Alexandru <budliviu@gmail.com>
This commit is contained in:
Bud Liviu-Alexandru 2021-08-04 16:23:33 +03:00 committed by Liam Girdwood
parent ceabf319e1
commit b40a2f7d36
1 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,7 @@ RUN cd /home/sof && \
mkdir -p /home/sof/work/ && \
cd crosstool-ng && \
./bootstrap && ./configure --prefix=`pwd` && make && make install && \
for arch in byt hsw apl cnl imx imx8m; do \
for arch in byt hsw apl cnl imx imx8m imx8ulp; do \
cp config-${arch}-gcc10.2-gdb9 .config && \
# replace the build dist to save space
sed -i 's#${CT_TOP_DIR}\/builds#\/home\/sof\/work#g' .config && \
@ -104,12 +104,13 @@ 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-imx-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-imx8m-elf/bin:${PATH}"
ENV PATH="/home/sof/work/xtensa-imx8ulp-elf/bin:${PATH}"
ARG NEWLIB_REPO=https://github.com/jcmvbkbc/newlib-xtensa.git
RUN cd /home/sof && \
git clone $CLONE_DEFAULTS --branch xtensa $NEWLIB_REPO && \
cd newlib-xtensa && \
for arch in byt hsw apl cnl imx imx8m; do \
for arch in byt hsw apl cnl imx imx8m imx8ulp; do \
./configure --target=xtensa-${arch}-elf \
--prefix=/home/sof/work/xtensa-root && \
make && \