mirror of
https://github.com/apache/nuttx.git
synced 2025-12-12 13:55:18 +08:00
tool/Config.mk:use bash with or without verbosity enabled
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -38,12 +38,14 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
export SHELL=cmd
|
export SHELL=cmd
|
||||||
else ifeq ($(V),)
|
else
|
||||||
BASHCMD := $(shell command -v bash 2> /dev/null)
|
BASHCMD := $(shell command -v bash 2> /dev/null)
|
||||||
ifneq ($(BASHCMD),)
|
ifneq ($(BASHCMD),)
|
||||||
export SHELL=$(BASHCMD)
|
export SHELL=$(BASHCMD)
|
||||||
export ECHO_BEGIN=@echo -ne "\033[1K\r"
|
ifeq ($(V),)
|
||||||
export ECHO_END=$(ECHO_BEGIN)
|
export ECHO_BEGIN=@echo -ne "\033[1K\r"
|
||||||
|
export ECHO_END=$(ECHO_BEGIN)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user