mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Makefile: fix color output of makefile echos
Force interpretation of backslash escapes with the parameter -e of echo. Switch to a lighter blue because on certain terminals default blue is hard to read on black background.
This commit is contained in:
4
Makefile
4
Makefile
@@ -126,11 +126,11 @@ define cmake-build
|
||||
+@(cd $(BUILD_DIR) && $(PX4_MAKE) $(PX4_MAKE_ARGS) $(ARGS))
|
||||
endef
|
||||
|
||||
COLOR_BLUE = \033[0;34m
|
||||
COLOR_BLUE = \033[0;94m
|
||||
NO_COLOR = \033[m
|
||||
|
||||
define colorecho
|
||||
+@echo "${COLOR_BLUE}${1} ${NO_COLOR}"
|
||||
+@echo -e "${COLOR_BLUE}${1} ${NO_COLOR}"
|
||||
endef
|
||||
|
||||
# Get a list of all config targets cmake/configs/*.cmake
|
||||
|
||||
Reference in New Issue
Block a user