qmk build system

This commit is contained in:
huangjimin
2020-07-15 16:51:41 +08:00
parent 25f293d49a
commit d895c15e4f
27 changed files with 3320 additions and 136 deletions

View File

@@ -35,13 +35,14 @@ endif
include ${QTOP}/qmk/board-pack/bp.${BP}
ifeq (,$(strip ${ARCH_LSCRS}))
$(info ${ARCH_LSRCS})
ifeq (,$(strip ${ARCH_LSRCS}))
$(error when compile arch/, must specify BP and ARCH_LSRCS obviously , see `make help`)
endif
endif
# arch src should be specify by bp
LSRCS := $(subst $(QTOP)/$(LOCALDIR)/,, ${ARCH_LSCRS})
LSRCS := $(subst $(QTOP)/arch/,, ${ARCH_LSRCS})
include ${QTOP}/qmk/generic/Make.tpl