Browse Source

make: migrate OS variable for COLOR_ECHO too

dev/timer
Thomas Eichinger 8 years ago
parent
commit
d7d45482af
  1. 2
      Makefile.buildtests
  2. 3
      Makefile.include

2
Makefile.buildtests

@ -31,8 +31,6 @@ endif
info-buildsizes-diff info-build info-boards-supported \
info-features-missing info-boards-features-missing
OS := $(shell uname)
buildtest:
@ \
BUILDTESTOK=true; \

3
Makefile.include

@ -21,6 +21,9 @@ COLOR_RED :=
COLOR_PURPLE :=
COLOR_RESET :=
COLOR_ECHO := /bin/echo
OS := $(shell uname)
ifeq (, ${JENKINS_URL})
ifeq (0, $(shell tput colors 2>&1 > /dev/null; echo $$?))
COLOR_GREEN := \033[1;32m

Loading…
Cancel
Save