diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-07-23 00:35:40 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-25 09:02:21 -0400 |
commit | d51306f1a3bc0e3a7b86d8f2b2dedf34b356d3dd (patch) | |
tree | d41092093e720aba9093c61dd9faed129c1bcc48 | |
parent | 60cbdf5d051d4f4db23d267d511ca241d4be7c0d (diff) |
x86: Make the vdso2c compiler use the host architecture headers
To be clear: this is a ppc64le hosted, x86_64 target cross build.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160723150845.3af8e452@canb.auug.org.au
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | arch/x86/entry/vdso/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 253b72eaade6..25e88c030c47 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile | |||
@@ -55,7 +55,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ | |||
55 | $(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE | 55 | $(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE |
56 | $(call if_changed,vdso) | 56 | $(call if_changed,vdso) |
57 | 57 | ||
58 | HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(srctree)/arch/x86/include/uapi | 58 | HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(srctree)/arch/$(SUBARCH)/include/uapi |
59 | hostprogs-y += vdso2c | 59 | hostprogs-y += vdso2c |
60 | 60 | ||
61 | quiet_cmd_vdso2c = VDSO2C $@ | 61 | quiet_cmd_vdso2c = VDSO2C $@ |