summaryrefslogtreecommitdiffstats
path: root/users/yanfali/rules.mk
blob: 467adceef7a40d015493becfcf1ef2d626c0dec9 (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
28
29
30
31
32
33
34
35
36
37
38
BOOTMAGIC_ENABLE = lite
DYNAMIC_KEYMAP_ENABLE = no
LTO_ENABLE = yes
AUDIO_ENABLE = no

# only enable audio on specific boards
ifeq ($(strip $(KEYBOARD)), evyd13/plain60)
    AUDIO_ENABLE = yes
    CONSOLE_ENABLE = yes
    COMMAND_ENABLE = yes
endif

ifeq ($(strip $(KEYBOARD)), clueboard/60)
    AUDIO_ENABLE = yes
    CONSOLE_ENABLE = yes
    COMMAND_ENABLE = yes
endif

ifeq ($(strip $(KEYBOARD)), hadron/ver3)
    AUDIO_ENABLE = yes
    CONSOLE_ENABLE = yes
    COMMAND_ENABLE = yes
endif

ifeq ($(strip $(KEYBOARD)), fruity60)
    CONSOLE_ENABLE = yes
    COMMAND_ENABLE = no
endif

ifeq ($(strip $(KEYBOARD)), kbdfans/kbd75/rev1)
    COMMAND_ENABLE = no
endif

ifeq ($(strip $(KEYBOARD)), ai03/polaris)
    RGBLIGHT_ENABLE = no
    CONSOLE_ENABLE = yes
    COMMAND_ENABLE = yes
endif