]> asedeno.scripts.mit.edu Git - linux.git/commit
objtool: Fix cross-build
authorJosh Poimboeuf <jpoimboe@redhat.com>
Wed, 8 Nov 2017 03:01:52 +0000 (21:01 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 8 Nov 2017 09:06:08 +0000 (10:06 +0100)
commit9eb719855f6c9b21eb5889d9ac2ca1c60527ad89
tree3e982dfe44e51ff22093df18487160356df6fcf7
parent3bd51c5a371de917e4e7401c9df006b5998579df
objtool: Fix cross-build

Stephen Rothwell reported this cross-compilation build failure:

| In file included from orc_dump.c:19:0:
| orc.h:21:10: fatal error: asm/orc_types.h: No such file or directory
| ...

Caused by:

  6a77cff819ae ("objtool: Move synced files to their original relative locations")

Use the proper arch header files location, not the host-arch location.

Bisected-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux-Next Mailing List <linux-next@vger.kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20171108030152.bd76eahiwjwjt3kp@treble
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/Makefile