summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builddefs/converters.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/builddefs/converters.mk b/builddefs/converters.mk
index a3548afd60..96c8656b25 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:]')