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: d3a89cdb74
("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>
This commit is contained in:
parent
fcfdc695a1
commit
f339190d07
|
@ -44,7 +44,7 @@ coreboot-sdk: test-docker
|
||||||
@echo "Building coreboot SDK $(crossgcc_version) from commit $(DOCKER_COMMIT)"
|
@echo "Building coreboot SDK $(crossgcc_version) from commit $(DOCKER_COMMIT)"
|
||||||
$(DOCKER) build \
|
$(DOCKER) build \
|
||||||
--tag coreboot/coreboot-sdk:$(COREBOOT_IMAGE_TAG) \
|
--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=DOCKER_COMMIT="$(DOCKER_COMMIT)" \
|
||||||
--build-arg=CROSSGCC_PARAM="$(COREBOOT_CROSSGCC_PARAM)" \
|
--build-arg=CROSSGCC_PARAM="$(COREBOOT_CROSSGCC_PARAM)" \
|
||||||
coreboot-sdk
|
coreboot-sdk
|
||||||
|
|
Loading…
Reference in New Issue