Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d51306f1 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarAndy 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 60cbdf5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -55,7 +55,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
$(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE
$(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE
	$(call if_changed,vdso)
	$(call if_changed,vdso)


HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(srctree)/arch/x86/include/uapi
HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(srctree)/arch/$(SUBARCH)/include/uapi
hostprogs-y			+= vdso2c
hostprogs-y			+= vdso2c


quiet_cmd_vdso2c = VDSO2C  $@
quiet_cmd_vdso2c = VDSO2C  $@