[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-12024aacb0170779cd0b976b06d2e9b1767cf142@git.kernel.org>
Date: Tue, 29 Aug 2017 14:23:32 -0700
From: tip-bot for David Carrillo-Cisneros <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: davidcc@...gle.com, jolsa@...nel.org, hpa@...or.com,
acme@...hat.com, linux-kernel@...r.kernel.org, mingo@...nel.org,
alexander.shishkin@...ux.intel.com, eranian@...gle.com,
tglx@...utronix.de, pjt@...gle.com
Subject: [tip:perf/core] tools lib: Allow external definition of CC, AR and
LD
Commit-ID: 12024aacb0170779cd0b976b06d2e9b1767cf142
Gitweb: http://git.kernel.org/tip/12024aacb0170779cd0b976b06d2e9b1767cf142
Author: David Carrillo-Cisneros <davidcc@...gle.com>
AuthorDate: Sun, 27 Aug 2017 00:54:39 -0700
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Mon, 28 Aug 2017 16:44:45 -0300
tools lib: Allow external definition of CC, AR and LD
Use already defined values for CC, AR and LD when available.
Signed-off-by: David Carrillo-Cisneros <davidcc@...gle.com>
Acked-by: Jiri Olsa <jolsa@...nel.org>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Paul Turner <pjt@...gle.com>
Cc: Stephane Eranian <eranian@...gle.com>
Link: http://lkml.kernel.org/r/20170827075442.108534-4-davidcc@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/lib/api/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile
index eb6e0b3..2538675 100644
--- a/tools/lib/api/Makefile
+++ b/tools/lib/api/Makefile
@@ -8,9 +8,9 @@ srctree := $(patsubst %/,%,$(dir $(srctree)))
#$(info Determined 'srctree' to be $(srctree))
endif
-CC = $(CROSS_COMPILE)gcc
-AR = $(CROSS_COMPILE)ar
-LD = $(CROSS_COMPILE)ld
+CC ?= $(CROSS_COMPILE)gcc
+AR ?= $(CROSS_COMPILE)ar
+LD ?= $(CROSS_COMPILE)ld
MAKEFLAGS += --no-print-directory
Powered by blists - more mailing lists