Move non-assignment code to post_rules.mk (#14207)
* 40percentclub/ut47: move non-assignment code to post_rules.mk * converter/palm_usb: move non-assignment code to post_rules.mk * converter/sun_usb: move non-assignment code to post_rules.mk * dm9records/ergoinu: move non-assignment code to post_rules.mk * ergotaco: move non-assignment code to post_rules.mk * handwired/symmetric70_proto: move non-assignment code to post_rules.mk * hhkb/ansi: move non-assignment code to post_rules.mk * hhkb/jp: move non-assignment code to post_rules.mk * lfkeyboards/lfk78: move non-assignment code to post_rules.mk * lfkeyboards/lfk87: move non-assignment code to post_rules.mk * lfkeyboards/lfkpad: move non-assignment code to post_rules.mk * lfkeyboards/mini1800: move non-assignment code to post_rules.mk * manta60: move non-assignment code to post_rules.mk * mschwingen/modelm: move non-assignment code to post_rules.mk * newgame40: move non-assignment code to post_rules.mk * numatreus: move non-assignment code to post_rules.mk * rgbkb/zen: move non-assignment code to post_rules.mk * rgbkb/zen/rev2: move non-assignment code to post_rules.mk * Revert "handwired/symmetric70_proto: move non-assignment code to post_rules.mk" This reverts commit cffaf0075c3c9b2473a660ba4af8835a9162311b.
This commit is contained in:
parent
d971020cd8
commit
c94cc1effa
34 changed files with 144 additions and 155 deletions
9
keyboards/dm9records/ergoinu/post_rules.mk
Normal file
9
keyboards/dm9records/ergoinu/post_rules.mk
Normal file
|
@ -0,0 +1,9 @@
|
|||
ifneq ($(strip $(ERGOINU)),)
|
||||
ifeq ($(findstring promicroled, $(ERGOINU)), promicroled)
|
||||
DISABLE_PROMICRO_LEDs = no
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(DISABLE_PROMICRO_LEDs)), yes)
|
||||
OPT_DEFS += -DDISABLE_PROMICRO_LEDs
|
||||
endif
|
|
@ -29,13 +29,3 @@ SRC += matrix.c serial.c split_util.c
|
|||
|
||||
# ergoinu configs
|
||||
DISABLE_PROMICRO_LEDs = yes
|
||||
|
||||
ifneq ($(strip $(ERGOINU)),)
|
||||
ifeq ($(findstring promicroled, $(ERGOINU)), promicroled)
|
||||
DISABLE_PROMICRO_LEDs = no
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(DISABLE_PROMICRO_LEDs)), yes)
|
||||
OPT_DEFS += -DDISABLE_PROMICRO_LEDs
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue