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:
Matthias Grob 2018-05-08 13:27:40 +01:00 committed by Beat Küng
parent 72db7d3396
commit 4e139d2426
1 changed files with 2 additions and 2 deletions

View File

@ -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