aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/vDSO
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2014-09-25 14:23:43 -0400
committerJiri Kosina <jkosina@suse.cz>2014-09-26 05:03:00 -0400
commit15565829e75ce6b50449462405dd7e72c37bd74e (patch)
treec72e6e90bb318add0cbc389c56ab0188ef45c3a8 /Documentation/vDSO
parentc5e2a7e01269cd9839fef8a5c5ac258277b3b08f (diff)
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>
Diffstat (limited to 'Documentation/vDSO')
-rw-r--r--Documentation/vDSO/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile
index 6cbd61270de5..d87bb29afd2a 100644
--- a/Documentation/vDSO/Makefile
+++ b/Documentation/vDSO/Makefile
@@ -1,9 +1,12 @@
1# List of programs to build 1# List of programs to build
2hostprogs-$(CONFIG_X86) := vdso_test 2hostprogs-y := vdso_test
3hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
4vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
3vdso_test-objs := parse_vdso.o vdso_test.o 5vdso_test-objs := parse_vdso.o vdso_test.o
4 6
5# Tell kbuild to always build the programs 7# Tell kbuild to always build the programs
6##always := $(hostprogs-y) 8always := $(hostprogs-y)
7 9
8HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99 10HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
9HOSTLDFLAGS = -nostdlib -fno-asynchronous-unwind-tables 11HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector
12HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib