From ff00096a391d3f90e409bee974bbce57ba398d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Fri, 17 May 2019 13:52:34 +0200 Subject: [PATCH] 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. --- boards/common/msb-430/Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/common/msb-430/Makefile.include b/boards/common/msb-430/Makefile.include index 6a4311f41f..58be9005a8 100644 --- a/boards/common/msb-430/Makefile.include +++ b/boards/common/msb-430/Makefile.include @@ -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)"