<p>Piotr Król has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22276">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">util/docker: add support for crossgcc building params<br><br>In some cases user may want to build just one toolchain not all. This<br>patch introduce COREBOOT_CROSSGCC_PARAM, which by default is set to<br>all_without_gdb so previous behavior was not changed. User can pass<br>different parameter eg. COREBOOT_CROSSGCC_PARAM=build-x64 to build just<br>x64 SDK.<br><br>Change-Id: I858ba09644b5b86a4b0e828e4f342aee5083be93<br>Signed-off-by: Piotr Król <piotr.krol@3mdeb.com><br>---<br>M util/docker/Makefile<br>M util/docker/coreboot-sdk/Dockerfile<br>2 files changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/22276/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/util/docker/Makefile b/util/docker/Makefile<br>index ef43d37..f70ee89 100644<br>--- a/util/docker/Makefile<br>+++ b/util/docker/Makefile<br>@@ -34,6 +34,9 @@<br> # Commit id to build from<br> export DOCKER_COMMIT?=$(shell git log -n 1 --pretty=%h)<br> <br>+# SDK architecture<br>+export COREBOOT_CROSSGCC_PARAM?=all_without_gdb<br>+<br> test-docker:<br>      $(if $(DOCKER),,\<br>             $(warning Docker command not found.  Please install docker) \<br>@@ -50,6 +53,7 @@<br>      cat coreboot-sdk/Dockerfile | \<br>               sed "s/{{DOCKER_COMMIT}}/$(DOCKER_COMMIT)/" | \<br>             sed "s/{{SDK_VERSION}}/$(COREBOOT_CONTAINER_VERSION)/" | \<br>+         sed "s/{{CROSSGCC_PARAM}}/$(COREBOOT_CROSSGCC_PARAM)/" | \<br>          $(DOCKER) build -t coreboot/coreboot-sdk:$(COREBOOT_CONTAINER_VERSION) -<br> <br> upload-coreboot-sdk: test-docker-login<br>diff --git a/util/docker/coreboot-sdk/Dockerfile b/util/docker/coreboot-sdk/Dockerfile<br>index 4ea4896..505bef2 100644<br>--- a/util/docker/coreboot-sdk/Dockerfile<br>+++ b/util/docker/coreboot-sdk/Dockerfile<br>@@ -75,7 +75,7 @@<br>  git clone https://review.coreboot.org/coreboot && \<br>   cd coreboot/util/crossgcc && \<br>        git checkout {{DOCKER_COMMIT}} && \<br>-  make all_without_gdb \<br>+       make {{CROSSGCC_PARAM}} \<br>             BUILD_LANGUAGES=c,ada CPUS=$(nproc) DEST=/opt/xgcc && \<br>       cd /root && \<br>         rm -rf coreboot<br></pre><p>To view, visit <a href="https://review.coreboot.org/22276">change 22276</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22276"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I858ba09644b5b86a4b0e828e4f342aee5083be93 </div>
<div style="display:none"> Gerrit-Change-Number: 22276 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Piotr Król <piotr.krol@3mdeb.com> </div>