summaryrefslogtreecommitdiff
path: root/tools/build/Makefile.include
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2016-09-27 17:18:46 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-10-03 17:40:35 +0300
commit6b3db6f9b970001b751a6cd001bc2ab581ce0fb3 (patch)
tree6efd812564f7c016375a488eee9b92534db6eb7d /tools/build/Makefile.include
parent0c3b7e42616f1f6084cfeb0d443cbff0b2c424a9 (diff)
downloadlinux-6b3db6f9b970001b751a6cd001bc2ab581ce0fb3.tar.xz
tools build: Make fixdep a hostprog
It is used in the build process, so stop suppressing its build in tools cross builds. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/20160927141846.GA6589@krava [ Use HOSTCC on the $(OUTPUT)fixdep target, it was using the x-compiler to link fixdep-in.o, that was correctly built with HOSTCC and thus failing ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/Makefile.include')
-rw-r--r--tools/build/Makefile.include4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/build/Makefile.include b/tools/build/Makefile.include
index be630bed66d2..ad22e4e7bc59 100644
--- a/tools/build/Makefile.include
+++ b/tools/build/Makefile.include
@@ -1,10 +1,6 @@
build := -f $(srctree)/tools/build/Makefile.build dir=. obj
-ifdef CROSS_COMPILE
-fixdep:
-else
fixdep:
$(Q)$(MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= $(OUTPUT)fixdep
-endif
.PHONY: fixdep