summaryrefslogtreecommitdiffstats
path: root/builddefs
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-04-04 04:17:38 +1000
committerGitHub <noreply@github.com>2022-04-03 19:17:38 +0100
commitec4f6553338919771038114c9d6e15c0be3778ec (patch)
tree3b2b1f3dffddbce9421b956e46d1e180d6411b03 /builddefs
parentca161fbbd93fb221c990e10dac17e96c4a79eab4 (diff)
Add warning for CTCP/CONVERT_TO_PROTON_C. (#16782)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/converters.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/builddefs/converters.mk b/builddefs/converters.mk
index 1b029e7225..b3e7bec007 100644
--- a/builddefs/converters.mk
+++ b/builddefs/converters.mk
@@ -1,8 +1,19 @@
+# Note for new boards -- CTPC and CONVERT_TO_PROTON_C are deprecated terms
+# and should not be replicated for new boards. These will be removed from
+# documentation as well as existing keymaps in due course.
ifeq ($(strip $(CTPC)), yes)
CONVERT_TO_PROTON_C=yes
endif
ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
CONVERT_TO=proton_c
+
+cpfirmware: ctpc_warning
+.INTERMEDIATE: ctpc_warning
+ctpc_warning: elf
+ $(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
+ $(info The `CONVERT_TO_PROTON_C` and `CTPC` options are soon to be deprecated.)
+ $(info Boards should be changed to use `CONVERT_TO=proton_c` instead.)
+ $(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
endif
# TODO: opt in rather than assume everything uses a pro micro