summaryrefslogtreecommitdiff
path: root/builddefs/build_keyboard.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-04-03 18:22:52 +0100
committerGitHub <noreply@github.com>2022-04-03 18:22:52 +0100
commit1660b2d2e25f5c43306a043c372255d0f66bb925 (patch)
tree6138d28ccd52c1b4041ec66ec11e873078b18c21 /builddefs/build_keyboard.mk
parente6a7e7ac8e81bbfc49489d584c8afc60dae696ce (diff)
downloadqmk_firmware-1660b2d2e25f5c43306a043c372255d0f66bb925.tar.gz
qmk_firmware-1660b2d2e25f5c43306a043c372255d0f66bb925.zip
Refactor CTPC logic to allow future converters (#16621)
* Refactor CTPC logic to allow future converters * Update builddefs/converters.mk Co-authored-by: Stefan Kerkmann <karlk90@pm.me> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
Diffstat (limited to 'builddefs/build_keyboard.mk')
-rw-r--r--builddefs/build_keyboard.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/builddefs/build_keyboard.mk b/builddefs/build_keyboard.mk
index 44acd964cc..4503f018a8 100644
--- a/builddefs/build_keyboard.mk
+++ b/builddefs/build_keyboard.mk
@@ -172,13 +172,7 @@ generated-files: $(KEYMAP_OUTPUT)/src/config.h $(KEYMAP_OUTPUT)/src/keymap.c
endif
-ifeq ($(strip $(CTPC)), yes)
- CONVERT_TO_PROTON_C=yes
-endif
-
-ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
- include platforms/chibios/boards/QMK_PROTON_C/convert_to_proton_c.mk
-endif
+include $(BUILDDEFS_PATH)/converters.mk
include $(BUILDDEFS_PATH)/mcu_selection.mk