more makefile clean up
This commit is contained in:
parent
ccd17ba0a1
commit
cca69e333a
11
src/Makefile
11
src/Makefile
@ -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
|
||||
#******************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user