Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1246720
| From | tip-bot for Jiri Olsa <tipbot@zytor.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [tip:perf/core] tools build: Fix cross compile build |
| Date | 2015-10-14 15:20 +0200 |
| Message-ID | <qju8j-81e-51@gated-at.bofh.it> (permalink) |
| References | <qj7bH-6QI-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Commit-ID: 3a70fcd3a4db56731f67f0189514953c74257944 Gitweb: http://git.kernel.org/tip/3a70fcd3a4db56731f67f0189514953c74257944 Author: Jiri Olsa <jolsa@redhat.com> AuthorDate: Tue, 13 Oct 2015 14:43:58 +0200 Committer: Arnaldo Carvalho de Melo <acme@redhat.com> CommitDate: Tue, 13 Oct 2015 11:59:43 -0300 tools build: Fix cross compile build He Kuang the new fixdep tool breaks cross compiling. The reason is it wouldn't get compiled under host arch, but under cross arch and failed to run. We need to add support for host side tools build, meanwhile disabling fixdep usage for cross arch builds. Reported-by: He Kuang <hekuang@huawei.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/20151013124358.GB9467@krava.brq.redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/build/Makefile.include | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/build/Makefile.include b/tools/build/Makefile.include index 6572bb0..4e09ad6 100644 --- a/tools/build/Makefile.include +++ b/tools/build/Makefile.include @@ -1,6 +1,10 @@ build := -f $(srctree)/tools/build/Makefile.build dir=. obj +ifdef CROSS_COMPILE +fixdep: +else fixdep: $(Q)$(MAKE) -C $(srctree)/tools/build fixdep +endif .PHONY: fixdep -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [BUG] perf cross-compile error dual to fixdep not host-exe He Kuang <hekuang@huawei.com> - 2015-10-08 10:20 +0200
Re: [BUG] perf cross-compile error dual to fixdep not host-exe Jiri Olsa <jolsa@redhat.com> - 2015-10-08 10:40 +0200
build: Fix cross compile build Jiri Olsa <jolsa@redhat.com> - 2015-10-13 14:50 +0200
[tip:perf/core] tools build: Fix cross compile build tip-bot for Jiri Olsa <tipbot@zytor.com> - 2015-10-14 15:20 +0200
csiph-web