summaryrefslogtreecommitdiff
path: root/users/dshields/rules.mk
blob: 06f6e5e9fa7634cc3e6708237ab456ad24bd6f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SRC += dshields.c

MOUSEKEY_ENABLE       = yes # Mouse keys(+4700)
COMMAND_ENABLE        = no  # Commands for debug and configuration
CONSOLE_ENABLE        = no  # Console for debug(+400)
EXTRAKEY_ENABLE       = no
SLEEP_LED_ENABLE      = no  # Breathing sleep LED during USB suspend
API_SYSEX_ENABLE      = no

ifeq ($(strip $(KEYBOARD)), planck/rev3)
	AUDIO_ENABLE	  = no
	BACKLIGHT_ENABLE  = yes
	RGB_MATRIX_ENABLE = no
endif
ifeq ($(strip $(KEYBOARD)), planck/rev6)
	CFLAGS           += -Wno-error=deprecated
	EXTRALDFLAGS	  = -Wl,--build-id=none
	AUDIO_ENABLE	  = no
	BACKLIGHT_ENABLE  = no
	RGB_MATRIX_ENABLE = no
endif
ifeq ($(strip $(KEYBOARD)), planck/light)
	AUDIO_ENABLE	  = yes
	BACKLIGHT_ENABLE  = no
	RGB_MATRIX_ENABLE = yes
endif