From 5f6877fccb5ef2340db3e0da03b46db742e7e2aa Mon Sep 17 00:00:00 2001 From: zvecr Date: Fri, 1 Dec 2023 13:37:36 +0000 Subject: [PATCH] Fix TARGET when using converters --- builddefs/converters.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builddefs/converters.mk b/builddefs/converters.mk index a3548afd609f..96c8656b253f 100644 --- a/builddefs/converters.mk +++ b/builddefs/converters.mk @@ -25,7 +25,9 @@ ifneq ($(CONVERT_TO),) -include $(CONVERTER)/pre_converter.mk PLATFORM_KEY = $(shell echo $(CONVERTER) | cut -d "/" -f2) - TARGET := $(TARGET)_$(CONVERT_TO) + + # force setting as value can be from environment + override TARGET := $(TARGET)_$(CONVERT_TO) # Configure any defaults OPT_DEFS += -DCONVERT_TO_$(shell echo $(CONVERT_TO) | tr '[:lower:]' '[:upper:]')