summaryrefslogtreecommitdiffstats
path: root/keyboards/idobao/id67/post_rules.mk
blob: 5eecdef4ce26613d512468d94963659cc4a2083b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Some ID67 variants (v1 base build & "Bestype") have a solid back plate,
#  this enables switching off thoes LEDs
# Usage:  `make idobao/id67:default UNDERGLOW=off`

ifeq ($(findstring off,$(UNDERGLOW)), off)
  $(info ** UNDERGLOW OFF)
  OPT_DEFS += -DID67_DISABLE_UNDERGLOW
else ifeq ($(findstring no,$(UNDERGLOW)), no)
  $(info ** NO UNDERGLOW)
  OPT_DEFS += -DID67_DISABLE_UNDERGLOW
else ifeq ($(findstring 0,$(UNDERGLOW)), 0)
  $(info ** Nil UNDERGLOW)
  OPT_DEFS += -DID67_DISABLE_UNDERGLOW
endif