]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Allow cross compiling
authorJamie Iles <jamie.iles@picochip.com>
Fri, 11 Dec 2009 09:21:00 +0000 (09:21 +0000)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Dec 2009 10:24:13 +0000 (11:24 +0100)
commitcc835752ae3634acd2d487fdf5152f6075f45aef
tree04f213117690cac7052cdfd75c8ee9ba429f98ce
parent0bb38a5cdeb39f543657ec6fb9950343d2de6918
perf tools: Allow cross compiling

For embedded platforms, we want to be able to build the perf
tools on a build machine to run on a different arch. This patch
allows $CROSS_COMPILE to set the cross compiler.

Additionally, if NO_LIBPERL is set, then don't use perl include
paths as they will be for the host arch.

Signed-off-by: Jamie Iles <jamie.iles@picochip.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1260523260-15694-2-git-send-email-jamie.iles@picochip.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile