Promote CTPC warning to error (#19565)
This commit is contained in:
parent
53caeb7952
commit
1bbacec44d
@ -1,19 +1,8 @@
|
|||||||
# Note for new boards -- CTPC and CONVERT_TO_PROTON_C are deprecated terms
|
# 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
|
# and should not be replicated for new boards. These will be removed from
|
||||||
# documentation as well as existing keymaps in due course.
|
# documentation as well as existing keymaps in due course.
|
||||||
ifeq ($(strip $(CTPC)), yes)
|
ifneq ($(findstring yes, $(CTPC)$(CONVERT_TO_PROTON_C)),)
|
||||||
CONVERT_TO_PROTON_C=yes
|
$(call CATASTROPHIC_ERROR,The `CONVERT_TO_PROTON_C` and `CTPC` options are now deprecated. `CONVERT_TO=proton_c` should be used instead.)
|
||||||
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
|
endif
|
||||||
|
|
||||||
# TODO: opt in rather than assume everything uses a pro micro
|
# TODO: opt in rather than assume everything uses a pro micro
|
||||||
|
Loading…
Reference in New Issue
Block a user