projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c95f343
)
tools build: Fix cross compile build
author
Jiri Olsa
<
[email protected]
>
Tue, 13 Oct 2015 12:43:58 +0000
(14:43 +0200)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Tue, 13 Oct 2015 14:59:43 +0000
(11:59 -0300)
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 <
[email protected]
>
Signed-off-by: Jiri Olsa <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Wang Nan <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/build/Makefile.include
patch
|
blob
|
history
diff --git
a/tools/build/Makefile.include
b/tools/build/Makefile.include
index 6572bb023543703fca7f48abc0c8fa84e8c95459..4e09ad617a607dd0884ada776d26df23bac407cb 100644
(file)
--- 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