summaryrefslogtreecommitdiff
path: root/util/docker/coreboot-sdk/Dockerfile
diff options
context:
space:
mode:
authorPiotr Król <piotr.krol@3mdeb.com>2017-10-20 12:17:34 +0200
committerMartin Roth <martinroth@google.com>2017-11-05 02:31:16 +0000
commit64f87f35412b24509123860b7cf6bdc9e6fab9f9 (patch)
treeebddfd42db3217f5e140be20e2fb96ef827dad19 /util/docker/coreboot-sdk/Dockerfile
parent0709dc0468951e2ed8fa8bac96d919147a926b74 (diff)
downloadcoreboot-64f87f35412b24509123860b7cf6bdc9e6fab9f9.tar.xz
util/docker: add support for crossgcc building params
In some cases users may want to build just one toolchain not all. This patch introduces COREBOOT_CROSSGCC_PARAM, which by default is set to all_without_gdb so previous behavior is not changed. Users can pass different parameter eg. COREBOOT_CROSSGCC_PARAM=build-x64 to build just x64 SDK. Change-Id: I858ba09644b5b86a4b0e828e4f342aee5083be93 Signed-off-by: Piotr Król <piotr.krol@3mdeb.com> Reviewed-on: https://review.coreboot.org/22276 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/docker/coreboot-sdk/Dockerfile')
-rw-r--r--util/docker/coreboot-sdk/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/docker/coreboot-sdk/Dockerfile b/util/docker/coreboot-sdk/Dockerfile
index 4ea4896754..505bef20f9 100644
--- a/util/docker/coreboot-sdk/Dockerfile
+++ b/util/docker/coreboot-sdk/Dockerfile
@@ -75,7 +75,7 @@ RUN \
git clone https://review.coreboot.org/coreboot && \
cd coreboot/util/crossgcc && \
git checkout {{DOCKER_COMMIT}} && \
- make all_without_gdb \
+ make {{CROSSGCC_PARAM}} \
BUILD_LANGUAGES=c,ada CPUS=$(nproc) DEST=/opt/xgcc && \
cd /root && \
rm -rf coreboot