[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-3c4797d46c14fa0c7cf733a77bd4b28875078b53@git.kernel.org>
Date: Fri, 31 May 2013 05:21:39 -0700
From: tip-bot for Rabin Vincent <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: acme@...hat.com, linux-kernel@...r.kernel.org, hpa@...or.com,
mingo@...nel.org, rabin@....in, tglx@...utronix.de, bp@...e.de
Subject: [tip:perf/core] tools lib lk: Respect CROSS_COMPILE
Commit-ID: 3c4797d46c14fa0c7cf733a77bd4b28875078b53
Gitweb: http://git.kernel.org/tip/3c4797d46c14fa0c7cf733a77bd4b28875078b53
Author: Rabin Vincent <rabin@....in>
AuthorDate: Fri, 17 May 2013 22:27:44 +0200
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Wed, 29 May 2013 15:46:36 +0300
tools lib lk: Respect CROSS_COMPILE
Make lk use CROSS_COMPILE, in order to be able to cross compile perf
again.
Signed-off-by: Rabin Vincent <rabin@....in>
Cc: Ingo Molnar <mingo@...nel.org>
Cc: Borislav Petkov <bp@...e.de>
Link: http://lkml.kernel.org/r/1368822464-4887-1-git-send-email-rabin@rab.in
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/lib/lk/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/lib/lk/Makefile b/tools/lib/lk/Makefile
index 926cbf3..2c5a197 100644
--- a/tools/lib/lk/Makefile
+++ b/tools/lib/lk/Makefile
@@ -1,5 +1,8 @@
include ../../scripts/Makefile.include
+CC = $(CROSS_COMPILE)gcc
+AR = $(CROSS_COMPILE)ar
+
# guard against environment variables
LIB_H=
LIB_OBJS=
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists