Skip to content

Commit c467b52

Browse files
xiulipanjajanusz
authored andcommitted
scripts: update sof_builder docker with imx8 support
Add imx8 cross compiler in sof_builder docker build file.t Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
1 parent 462f917 commit c467b52

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/docker_build/sof_builder/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ RUN cd /home/sof && git clone https://github.com/thesofproject/xtensa-overlay.gi
7171
mkdir -p /home/sof/work/ && \
7272
cd crosstool-ng && git checkout sof-gcc8.1 && \
7373
./bootstrap && ./configure --prefix=`pwd` && make && make install && \
74-
for arch in byt hsw apl cnl; do \
74+
for arch in byt hsw apl cnl imx; do \
7575
cp config-${arch}-gcc8.1-gdb8.1 .config && \
7676
# replace the build dist to save space
7777
sed -i 's#${CT_TOP_DIR}\/builds#\/home\/sof\/work#g' .config && \
@@ -85,10 +85,11 @@ ENV PATH="/home/sof/work/xtensa-byt-elf/bin:${PATH}"
8585
ENV PATH="/home/sof/work/xtensa-hsw-elf/bin:${PATH}"
8686
ENV PATH="/home/sof/work/xtensa-apl-elf/bin:${PATH}"
8787
ENV PATH="/home/sof/work/xtensa-cnl-elf/bin:${PATH}"
88+
ENV PATH="/home/sof/work/xtensa-imx-elf/bin:${PATH}"
8889

8990
RUN cd /home/sof && git clone https://github.com/jcmvbkbc/newlib-xtensa.git newlib-xtensa.git && \
9091
cd newlib-xtensa.git && git checkout -b xtensa origin/xtensa && \
91-
for arch in byt hsw apl cnl; do \
92+
for arch in byt hsw apl cnl imx; do \
9293
./configure --target=xtensa-${arch}-elf \
9394
--prefix=/home/sof/work/xtensa-root && \
9495
make && \

0 commit comments

Comments
 (0)