Make lk use CROSS_COMPILE, in order to be able to cross compile perf
again.
Signed-off-by: Rabin Vincent <[email protected]>
---
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=
--
1.8.1.2
2013/5/17 Rabin Vincent <[email protected]>:
> Make lk use CROSS_COMPILE, in order to be able to cross compile perf
> again.
>
> Signed-off-by: Rabin Vincent <[email protected]>
Ping. Would be nice if this was merged so that perf cross compile is no longer
broken.
> ---
> 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=
> --
> 1.8.1.2
>
On Mon, May 27, 2013 at 03:28:53PM +0200, Rabin Vincent wrote:
> Ping. Would be nice if this was merged so that perf cross compile is
> no longer broken.
It will be merged, just give acme some more leeway - he's currently
travelling around Europe with spotty internet connection.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
Commit-ID: 3c4797d46c14fa0c7cf733a77bd4b28875078b53
Gitweb: http://git.kernel.org/tip/3c4797d46c14fa0c7cf733a77bd4b28875078b53
Author: Rabin Vincent <[email protected]>
AuthorDate: Fri, 17 May 2013 22:27:44 +0200
Committer: Arnaldo Carvalho de Melo <[email protected]>
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
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=