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:
parent
ea51cf3174
commit
ff00096a39
@ -10,9 +10,9 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# setup flash tool
|
||||
export PROGRAMMER ?= olimex
|
||||
export MSPDEBUGFLAGS += -j $(PROGRAMMER)
|
||||
MSPDEBUGFLAGS += -j $(PROGRAMMER)
|
||||
ifeq ($(strip $(PROGRAMMER)),uif)
|
||||
export MSPDEBUGFLAGS += -d $(PORT)
|
||||
MSPDEBUGFLAGS += -d $(PORT)
|
||||
endif
|
||||
FLASHER ?= mspdebug
|
||||
FFLAGS = $(MSPDEBUGFLAGS) "prog $(HEXFILE)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user