summaryrefslogtreecommitdiff
path: root/util/docker/Makefile
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2023-09-26 18:30:10 -0600
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-10-03 22:30:02 +0000
commitf339190d071dbe3aea3b62daec0d8485701f6d27 (patch)
tree440a512908ee1febd39b879ddfbb733914f51aac /util/docker/Makefile
parentfcfdc695a1e65c5e56bb317533c61c3f6fcd8f60 (diff)
util/docker: Fix setting SDK_VERSION
The `SDK_VERSION` was incorrectly set to itself instead of keeping the `COREBOOT_IMAGE_TAG` variable, leaving it as an empty string. Test: Run `make coreboot-sdk` and see `SDK_VERSION` matches the tag. Fixes: d3a89cdb749a ("util/docker: Replace use of sed with build args") Change-Id: I4c8be7d0f7c1ac82da397e720d13a7075f22ec4d Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78141 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'util/docker/Makefile')
-rw-r--r--util/docker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/docker/Makefile b/util/docker/Makefile
index ca274b7143..77526bba5e 100644
--- a/util/docker/Makefile
+++ b/util/docker/Makefile
@@ -44,7 +44,7 @@ coreboot-sdk: test-docker
@echo "Building coreboot SDK $(crossgcc_version) from commit $(DOCKER_COMMIT)"
$(DOCKER) build \
--tag coreboot/coreboot-sdk:$(COREBOOT_IMAGE_TAG) \
- --build-arg=SDK_VERSION="$(SDK_VERSION)" \
+ --build-arg=SDK_VERSION="$(COREBOOT_IMAGE_TAG)" \
--build-arg=DOCKER_COMMIT="$(DOCKER_COMMIT)" \
--build-arg=CROSSGCC_PARAM="$(COREBOOT_CROSSGCC_PARAM)" \
coreboot-sdk