boards/tools: remove exporting MSPDEBUGFLAGS

MSPDEBUGFLAGS is evaluated only in the same file.
Its value does not need to be exported.

This will also prevent evaluating 'PORT' for MSPDEBUGFLAGS when not needed.
This commit is contained in:
Gaëtan Harter 2019-05-17 13:52:34 +02:00
parent ea51cf3174
commit ff00096a39
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -10,9 +10,9 @@ include $(RIOTMAKE)/tools/serial.inc.mk
# setup flash tool # setup flash tool
export PROGRAMMER ?= olimex export PROGRAMMER ?= olimex
export MSPDEBUGFLAGS += -j $(PROGRAMMER) MSPDEBUGFLAGS += -j $(PROGRAMMER)
ifeq ($(strip $(PROGRAMMER)),uif) ifeq ($(strip $(PROGRAMMER)),uif)
export MSPDEBUGFLAGS += -d $(PORT) MSPDEBUGFLAGS += -d $(PORT)
endif endif
FLASHER ?= mspdebug FLASHER ?= mspdebug
FFLAGS = $(MSPDEBUGFLAGS) "prog $(HEXFILE)" FFLAGS = $(MSPDEBUGFLAGS) "prog $(HEXFILE)"