Commit 15565829 authored by Peter Foley's avatar Peter Foley Committed by Jiri Kosina

Documentation: update vDSO makefile to build portable examples

Signed-off-by: default avatarPeter Foley <pefoley2@pefoley.com>
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent c5e2a7e0
# List of programs to build # 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 vdso_test-objs := parse_vdso.o vdso_test.o
# Tell kbuild to always build the programs # Tell kbuild to always build the programs
##always := $(hostprogs-y) always := $(hostprogs-y)
HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment