moved generic rules.mk configuration for converting to svlinky or xivik into general fingerpunch rules.mk
This commit is contained in:
parent
a4d6dfdb54
commit
33818ac694
|
|
@ -9,15 +9,16 @@
|
|||
MCU = atmega32u4
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
ifeq ($(strip $(FP_CONVERT_TO)), svlinky_v01)
|
||||
VIK_ENABLE = yes
|
||||
OPT_DEFS += -DFP_CONVERT_TO_SVLINKY_V01
|
||||
endif
|
||||
## Moved to keyboards/fingerpunch/src/rules.mk
|
||||
# ifeq ($(strip $(FP_CONVERT_TO)), svlinky_v01)
|
||||
# VIK_ENABLE = yes
|
||||
# OPT_DEFS += -DFP_CONVERT_TO_SVLINKY_V01
|
||||
# endif
|
||||
|
||||
ifeq ($(strip $(FP_CONVERT_TO)), svlinky_v02)
|
||||
VIK_ENABLE = yes
|
||||
OPT_DEFS += -DFP_CONVERT_TO_SVLINKY_V02
|
||||
endif
|
||||
# ifeq ($(strip $(FP_CONVERT_TO)), svlinky_v02)
|
||||
# VIK_ENABLE = yes
|
||||
# OPT_DEFS += -DFP_CONVERT_TO_SVLINKY_V02
|
||||
# endif
|
||||
|
||||
# $(info $(MCU))
|
||||
# $(info $(BOOTLOADER))
|
||||
|
|
|
|||
|
|
@ -9,6 +9,27 @@ SRC += keyboards/fingerpunch/src/fp.c \
|
|||
keyboards/fingerpunch/src/fp_rgblight.c \
|
||||
keyboards/fingerpunch/src/fp_rgb_matrix.c
|
||||
|
||||
ifeq ($(strip $(FP_CONVERT_TO)), svlinky_v01)
|
||||
VIK_ENABLE = yes
|
||||
OPT_DEFS += -DFP_CONVERT_TO_SVLINKY_V01
|
||||
endif
|
||||
ifeq ($(strip $(FP_CONVERT_TO)), svlinky_v02)
|
||||
VIK_ENABLE = yes
|
||||
OPT_DEFS += -DFP_CONVERT_TO_SVLINKY_V02
|
||||
endif
|
||||
ifeq ($(strip $(FP_CONVERT_TO)), xivik_v01)
|
||||
VIK_ENABLE = yes
|
||||
OPT_DEFS += -DFP_CONVERT_TO_XIVIK_V01
|
||||
endif
|
||||
ifeq ($(strip $(FP_CONVERT_TO)), xivik_v02)
|
||||
VIK_ENABLE = yes
|
||||
OPT_DEFS += -DFP_CONVERT_TO_XIVIK_V02
|
||||
endif
|
||||
ifeq ($(strip $(FP_CONVERT_TO)), xivik_v03)
|
||||
VIK_ENABLE = yes
|
||||
OPT_DEFS += -DFP_CONVERT_TO_XIVIK_V03
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(VIK_ENABLE)), yes)
|
||||
include keyboards/fingerpunch/src/vik/rules.mk
|
||||
OPT_DEFS += -DVIK_ENABLE
|
||||
|
|
|
|||
Loading…
Reference in New Issue