|
|
@ -59,6 +59,12 @@ ifndef KEYBOARD
|
|
|
|
KEYBOARD=planck
|
|
|
|
KEYBOARD=planck
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MASTER ?= left
|
|
|
|
|
|
|
|
ifdef master
|
|
|
|
|
|
|
|
MASTER = $(master)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# converts things to keyboards/subproject
|
|
|
|
# converts things to keyboards/subproject
|
|
|
|
ifneq (,$(findstring /,$(KEYBOARD)))
|
|
|
|
ifneq (,$(findstring /,$(KEYBOARD)))
|
|
|
|
TEMP:=$(KEYBOARD)
|
|
|
|
TEMP:=$(KEYBOARD)
|
|
|
@ -212,6 +218,14 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
|
|
|
|
VAPTH += $(SERIAL_PATH)
|
|
|
|
VAPTH += $(SERIAL_PATH)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(MASTER),right)
|
|
|
|
|
|
|
|
OPT_DEFS += -DMASTER_IS_ON_RIGHT
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
ifneq ($(MASTER),left)
|
|
|
|
|
|
|
|
$(error MASTER does not have a valid value(left/right))
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
|
|
|
|
|
|
|
|