Fix TARGET when using converters (#22591)
This commit is contained in:
parent
a09fdd4190
commit
0f341dfdd3
1 changed files with 3 additions and 1 deletions
|
@ -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:]')
|
||||
|
|
Loading…
Reference in a new issue