tools build: Add support for host programs format
authorJiri Olsa <[email protected]>
Tue, 27 Sep 2016 14:18:46 +0000 (16:18 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 3 Oct 2016 14:39:09 +0000 (11:39 -0300)
commit0c3b7e42616f1f6084cfeb0d443cbff0b2c424a9
tree097ca8b3055dcc3e7a935413dc78eb32b1934cec
parent18ef15c675a5d5d97f844ebcf340a2a6c7cf3142
tools build: Add support for host programs format

In some cases, like for fixdep and shortly for jevents, we need to build a tool
to run on the host that will be used in building a tool, such as perf, that is
being cross compiled, so do like the kernel and provide HOSTCC, HOSTLD and HOSTAR
to do that.

Signed-off-by: Jiri Olsa <[email protected]>
Requested-by: Andi Kleen <[email protected]>
Requested-and-Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20160927141846.GA6589@krava
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/build/Build.include
tools/build/Makefile
tools/build/Makefile.build