From d7d45482af0f78347eb7a7dc12b39d05a581a561 Mon Sep 17 00:00:00 2001 From: Thomas Eichinger <thomas.eichinger1@gmail.com> Date: Mon, 15 Dec 2014 16:16:44 +0100 Subject: [PATCH] make: migrate OS variable for COLOR_ECHO too --- Makefile.buildtests | 2 -- Makefile.include | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.buildtests b/Makefile.buildtests index 8bd4d801b1..4781c2c691 100644 --- a/Makefile.buildtests +++ b/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; \ diff --git a/Makefile.include b/Makefile.include index c0cd6757b9..11f488851a 100644 --- a/Makefile.include +++ b/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 -- GitLab