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:
14
keyboards/lfkeyboards/lfk78/post_rules.mk
Normal file
14
keyboards/lfkeyboards/lfk78/post_rules.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
# Extra source files for IS3731 lighting
|
||||
SRC += TWIlib.c issi.c lighting.c
|
||||
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DISSI_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(CAPSLOCK_LED)), yes)
|
||||
TMK_COMMON_DEFS += -DCAPSLOCK_LED
|
||||
endif
|
@@ -24,19 +24,4 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install thi
|
||||
WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
|
||||
CAPSLOCK_LED = no # Toggle back light LED of Caps Lock
|
||||
|
||||
# Extra source files for IS3731 lighting
|
||||
SRC = TWIlib.c issi.c lighting.c
|
||||
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DISSI_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(CAPSLOCK_LED)), yes)
|
||||
TMK_COMMON_DEFS += -DCAPSLOCK_LED
|
||||
endif
|
||||
|
||||
DEFAULT_FOLDER = lfkeyboards/lfk78/revj
|
||||
|
13
keyboards/lfkeyboards/lfk87/post_rules.mk
Normal file
13
keyboards/lfkeyboards/lfk87/post_rules.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
ifeq ($(LFK_REV), A)
|
||||
MCU = at90usb1286
|
||||
else
|
||||
MCU = at90usb646
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
OPT_DEFS += -DISSI_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
|
||||
OPT_DEFS += -DWATCHDOG_ENABLE
|
||||
endif
|
@@ -6,11 +6,6 @@
|
||||
#
|
||||
LFK_REV = C
|
||||
|
||||
ifeq ($(LFK_REV), A)
|
||||
MCU = at90usb1286
|
||||
else
|
||||
MCU = at90usb646
|
||||
endif
|
||||
BOOTLOADER = atmel-dfu
|
||||
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
|
||||
|
||||
@@ -42,13 +37,3 @@ TAP_DANCE_ENABLE = no
|
||||
|
||||
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
|
||||
WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
|
||||
|
||||
|
||||
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
OPT_DEFS += -DISSI_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
|
||||
OPT_DEFS += -DWATCHDOG_ENABLE
|
||||
endif
|
||||
|
7
keyboards/lfkeyboards/lfkpad/post_rules.mk
Normal file
7
keyboards/lfkeyboards/lfkpad/post_rules.mk
Normal file
@@ -0,0 +1,7 @@
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DISSI_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
|
||||
endif
|
@@ -29,12 +29,4 @@ WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan() isn't run every
|
||||
|
||||
SRC = TWIlib.c issi.c lighting.c
|
||||
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DISSI_ENABLE
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
|
||||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
|
||||
endif
|
||||
|
||||
LAYOUTS = numpad_6x4
|
||||
|
9
keyboards/lfkeyboards/mini1800/post_rules.mk
Normal file
9
keyboards/lfkeyboards/mini1800/post_rules.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
ifeq ($(LFK_REV), A)
|
||||
MCU = at90usb1286
|
||||
else
|
||||
MCU = at90usb646
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
# TMK_COMMON_DEFS += -DISSI_ENABLE
|
||||
endif
|
@@ -7,21 +7,12 @@
|
||||
# Set to A or C
|
||||
LFK_REV = C
|
||||
|
||||
ifeq ($(LFK_REV), A)
|
||||
MCU = at90usb1286
|
||||
else
|
||||
MCU = at90usb646
|
||||
endif
|
||||
BOOTLOADER = atmel-dfu
|
||||
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
|
||||
|
||||
# Extra source files for IS3731 lighting
|
||||
SRC = TWIlib.c issi.c lighting.c
|
||||
|
||||
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
||||
# TMK_COMMON_DEFS += -DISSI_ENABLE
|
||||
endif
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
|
Reference in New Issue
Block a user