Re: [PATCH] tools lib lk: respect CROSS_COMPILE

From: Rabin Vincent
Date: Mon May 27 2013 - 09:29:39 EST


2013/5/17 Rabin Vincent <rabin@xxxxxx>:
> Make lk use CROSS_COMPILE, in order to be able to cross compile perf
> again.
>
> Signed-off-by: Rabin Vincent <rabin@xxxxxx>

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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/