qmk build system

This commit is contained in:
huangjimin
2020-07-16 15:30:48 +08:00
parent a2ec961500
commit 42c4a59a8a
13 changed files with 128 additions and 95 deletions

View File

@@ -30,13 +30,13 @@ subdirs=
ifneq (help,$(findstring help,$(MAKECMDGOALS)))
ifeq (, $(strip ${BP}))
$(error when compile arch/, must specify BP and PLATFORM_VENDOR_BSP_LSRCS obviously , see `make help`)
$(error when compile arch/, must specify BP obviously, see `make help`)
endif
include ${QTOP}/qmk/board-pack/bp.${BP}
ifeq (,$(strip ${PLATFORM_VENDOR_BSP_LSRCS}))
$(error when compile arch/, must specify BP and PLATFORM_VENDOR_BSP_LSRCS obviously , see `make help`)
$(error when compile arch/, must specify PLATFORM_VENDOR_BSP_LSRCS on your bp.${BP}, see `make help`)
endif
endif