forked from Archive/PX4-Autopilot
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:
parent
72db7d3396
commit
4e139d2426
4
Makefile
4
Makefile
|
@ -126,11 +126,11 @@ define cmake-build
|
||||||
+@(cd $(BUILD_DIR) && $(PX4_MAKE) $(PX4_MAKE_ARGS) $(ARGS))
|
+@(cd $(BUILD_DIR) && $(PX4_MAKE) $(PX4_MAKE_ARGS) $(ARGS))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
COLOR_BLUE = \033[0;34m
|
COLOR_BLUE = \033[0;94m
|
||||||
NO_COLOR = \033[m
|
NO_COLOR = \033[m
|
||||||
|
|
||||||
define colorecho
|
define colorecho
|
||||||
+@echo "${COLOR_BLUE}${1} ${NO_COLOR}"
|
+@echo -e "${COLOR_BLUE}${1} ${NO_COLOR}"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Get a list of all config targets cmake/configs/*.cmake
|
# Get a list of all config targets cmake/configs/*.cmake
|
||||||
|
|
Loading…
Reference in New Issue