mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/tools/serial.inc.mk: unexport TERM* variables
TERMPROG and TERMFLAGS variables do not need to be exported as they are used directly by a make receipe. Exporting them prevents overwriting 'RIOT_TERMINAL' in the test.
This commit is contained in:
parent
d0cb6d26e1
commit
20ce4db753
@ -14,13 +14,13 @@ export BAUD ?= 115200
|
||||
|
||||
RIOT_TERMINAL ?= pyterm
|
||||
ifeq ($(RIOT_TERMINAL),pyterm)
|
||||
export TERMPROG ?= $(RIOTTOOLS)/pyterm/pyterm
|
||||
export TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)"
|
||||
TERMPROG ?= $(RIOTTOOLS)/pyterm/pyterm
|
||||
TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)"
|
||||
else ifeq ($(RIOT_TERMINAL),socat)
|
||||
SOCAT_OUTPUT ?= -
|
||||
export TERMPROG ?= $(RIOT_TERMINAL)
|
||||
export TERMFLAGS ?= $(SOCAT_OUTPUT) open:$(PORT),b$(BAUD),echo=0,raw
|
||||
TERMPROG ?= $(RIOT_TERMINAL)
|
||||
TERMFLAGS ?= $(SOCAT_OUTPUT) open:$(PORT),b$(BAUD),echo=0,raw
|
||||
else ifeq ($(RIOT_TERMINAL),picocom)
|
||||
export TERMPROG ?= picocom
|
||||
export TERMFLAGS ?= --nolock --imap lfcrlf --echo --baud "$(BAUD)" "$(PORT)"
|
||||
TERMPROG ?= picocom
|
||||
TERMFLAGS ?= --nolock --imap lfcrlf --echo --baud "$(BAUD)" "$(PORT)"
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user