fix: detect CONVERT_TO vs MCU in rules.mk

MCU no longer changes to match the converter, resulting in features
being disabled unnecessarily on ARM Micros.

Check for a non-blank CONVERT_TO instead.
This commit is contained in:
honorless 2024-02-28 19:38:42 -05:00
parent efc1f6fba3
commit 7b8545b635
No known key found for this signature in database
GPG key ID: 1B48A311ABE8DA4D
12 changed files with 12 additions and 12 deletions

View file

@ -2,7 +2,7 @@ VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
ifeq ($(strip $(MCU)), atmega32u4)
ifeq ($(strip $(CONVERT_TO)), )
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
COMBO_ENABLE = no

View file

@ -3,7 +3,7 @@ VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
ifeq ($(strip $(MCU)), atmega32u4)
ifeq ($(strip $(CONVERT_TO)), )
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
COMBO_ENABLE = no