Makefile simplify colorecho for CI

This commit is contained in:
Daniel Agar
2017-08-01 22:32:43 +02:00
committed by Lorenz Meier
parent 3eea8eb301
commit 30f8e5751d
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -138,10 +138,11 @@ define cmake-build
+@(cd $(BUILD_DIR) && $(PX4_MAKE) $(PX4_MAKE_ARGS) $(ARGS))
endef
COLOR_BLUE = \033[0;34m
NO_COLOR = \033[m
define colorecho
+@tput setaf 6
+@echo $1
+@tput sgr0
+@echo "${COLOR_BLUE}${1} ${NO_COLOR}"
endef
# Get a list of all config targets.