Skip to content

Commit

Permalink
Fix TARGET when using converters (qmk#22591)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Dec 8, 2023
1 parent a09fdd4 commit 0f341df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion builddefs/converters.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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:]')
Expand Down

0 comments on commit 0f341df

Please sign in to comment.