From 305366246868bc3348373a09e17b3df23746e5ef Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 19 Nov 2025 10:15:14 +0100 Subject: [PATCH] infix.mk: Define artifact name in one place A bunch of different artifacts should follow the same naming scheme, depending on a bunch of config settings + whether we're building a release or not. Therefore, provide a single definition of this that we can reuse to name disk images, upgrade packages, etc. --- infix.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/infix.mk b/infix.mk index dfed3a39..788134c7 100644 --- a/infix.mk +++ b/infix.mk @@ -8,5 +8,6 @@ INFIX_TOPDIR = $(if $(oem-dir),$(oem-dir),$(BR2_EXTERNAL_INFIX_PATH)) # release is being built. export INFIX_BUILD_ID ?= $(shell git -C $(INFIX_TOPDIR) describe --dirty --always --tags) export INFIX_VERSION = $(if $(INFIX_RELEASE),$(INFIX_RELEASE),$(INFIX_BUILD_ID)) +export INFIX_ARTIFACT = $(call qstrip,$(INFIX_IMAGE_ID)$(if $(INFIX_RELEASE),-$(INFIX_RELEASE))) INFIX_CFLAGS:=-Wall -Werror -Wextra -Wno-unused-parameter -Wformat=2 -Wformat-overflow=2 -Winit-self -Wstrict-overflow=4 -Wno-format-truncation -Wno-format-nonliteral