From b40a2f7d3696d3680615954c16239c383add3f9a Mon Sep 17 00:00:00 2001 From: Bud Liviu-Alexandru Date: Wed, 4 Aug 2021 16:23:33 +0300 Subject: [PATCH] docker: Add support for i.MX8ULP platform This commit adds support for building i.MX8ULP toolchain support. Signed-off-by: Bud Liviu-Alexandru --- scripts/docker_build/sof_builder/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/docker_build/sof_builder/Dockerfile b/scripts/docker_build/sof_builder/Dockerfile index a152e096a..08ab52b05 100644 --- a/scripts/docker_build/sof_builder/Dockerfile +++ b/scripts/docker_build/sof_builder/Dockerfile @@ -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 && \