diff options
author | Peter Foley <pefoley2@pefoley.com> | 2014-09-25 22:23:43 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-09-26 13:03:00 +0400 |
commit | 15565829e75ce6b50449462405dd7e72c37bd74e (patch) | |
tree | c72e6e90bb318add0cbc389c56ab0188ef45c3a8 /Documentation | |
parent | c5e2a7e01269cd9839fef8a5c5ac258277b3b08f (diff) | |
download | linux-15565829e75ce6b50449462405dd7e72c37bd74e.tar.xz |
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')
-rw-r--r-- | Documentation/vDSO/Makefile | 9 |
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 @@ # 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 |