mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 19:07:46 +00:00
Documentation: update vDSO makefile to build portable examples
Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
c5e2a7e012
commit
15565829e7
@ -1,9 +1,12 @@
|
||||
# List of programs to build
|
||||
hostprogs-$(CONFIG_X86) := vdso_test
|
||||
hostprogs-y := vdso_test
|
||||
hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
|
||||
vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
|
||||
vdso_test-objs := parse_vdso.o vdso_test.o
|
||||
|
||||
# Tell kbuild to always build the programs
|
||||
##always := $(hostprogs-y)
|
||||
always := $(hostprogs-y)
|
||||
|
||||
HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
|
||||
HOSTLDFLAGS = -nostdlib -fno-asynchronous-unwind-tables
|
||||
HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector
|
||||
HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib
|
||||
|
Loading…
Reference in New Issue
Block a user