summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-12-08 11:07:30 -0600
committerTom Rini <trini@konsulko.com>2024-12-21 12:27:46 -0600
commit9a8736296293cdb473938d15f9efd8c54cb66a9e (patch)
tree2b464cba0531271dae67cb1ca317ea2a79accbaa
parenta18235dd1a3a63393a096fcd1c288d2499dda91f (diff)
docker: Prefer the kernelorg toolchains over "root"
We should always look in our downloaded toolchains first and then for host-provided toolchains. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--tools/docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 5d77e2b6269..348605a2b6a 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -318,8 +318,8 @@ RUN virtualenv -p /usr/bin/python3 /tmp/venv && \
rm -rf /tmp/venv /tmp/*-requirements.txt
# Create the buildman config file
-RUN /bin/echo -e "[toolchain]\nroot = /usr" > ~/.buildman
-RUN /bin/echo -e "kernelorg = /opt/gcc-${TCVER}-nolibc/*" >> ~/.buildman
+RUN /bin/echo -e "[toolchain]\nkernelorg = /opt/gcc-${TCVER}-nolibc/*" > ~/.buildman
+RUN /bin/echo -e "root = /usr" >> ~/.buildman
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
/bin/echo -e "\n[toolchain-prefix]\nxtensa = /opt/2020.07/xtensa-dc233c-elf/bin/xtensa-dc233c-elf-" >> ~/.buildman; \
fi