mirror of https://github.com/thesofproject/sof.git
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:
parent
ceabf319e1
commit
b40a2f7d36
|
@ -88,7 +88,7 @@ RUN cd /home/sof && \
|
||||||
mkdir -p /home/sof/work/ && \
|
mkdir -p /home/sof/work/ && \
|
||||||
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; do \
|
for arch in byt hsw apl cnl imx imx8m imx8ulp; do \
|
||||||
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
|
||||||
sed -i 's#${CT_TOP_DIR}\/builds#\/home\/sof\/work#g' .config && \
|
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-cnl-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}"
|
||||||
|
|
||||||
ARG NEWLIB_REPO=https://github.com/jcmvbkbc/newlib-xtensa.git
|
ARG NEWLIB_REPO=https://github.com/jcmvbkbc/newlib-xtensa.git
|
||||||
RUN cd /home/sof && \
|
RUN cd /home/sof && \
|
||||||
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; do \
|
for arch in byt hsw apl cnl imx imx8m imx8ulp; 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 && \
|
||||||
|
|
Loading…
Reference in New Issue