more makefile clean up

This commit is contained in:
hathach 2018-08-06 18:29:32 +07:00
parent ccd17ba0a1
commit cca69e333a
1 changed files with 10 additions and 1 deletions

View File

@ -35,7 +35,7 @@ BETA_DIR = ../bin/$(BOARD)/beta
RELEASE_DIR = ../bin/$(BOARD)/$(SD_VERSION)
MK_DIS_FIRMWARE = "$(subst s,S,$(SD_NAME)) $(SD_VERSION_FULL)"
MK_DIS_FIRMWARE = "$(SD_NAME) $(SD_VERSION_FULL)"
# Select the board to build for.
ifeq ($(BOARD),)
@ -51,6 +51,15 @@ endif
BUILD = _build-$(BOARD)
NRF52840_BOARDLIST = pca10056 feather52840
ifneq ($(findstring $(BOARD),$(NRF52840_BOARDLIST)),)
#nrf52840 board
else
#nrf52832 board
endif
#******************************************************************************
# Tool configure
#******************************************************************************