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 and Nathan committed Feb 11, 2024
1 parent 90e68ab commit 3bbb2aa
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 3bbb2aa

Please sign in to comment.