blob: 2b99e57207c161db7fa442f16ff99e16414a1a79 [file] [log] [blame]
Peter Foley25b91ac2014-09-25 11:23:48 -07001# vdso_test won't build for glibc < 2.16, so disable it
2# hostprogs-y := vdso_test
Peter Foley15565822014-09-25 11:23:43 -07003hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
4vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
Peter Foleyadb19fb2014-09-25 11:23:09 -07005vdso_test-objs := parse_vdso.o vdso_test.o
6
7# Tell kbuild to always build the programs
Peter Foley15565822014-09-25 11:23:43 -07008always := $(hostprogs-y)
Peter Foleyadb19fb2014-09-25 11:23:09 -07009
10HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
Peter Foley15565822014-09-25 11:23:43 -070011HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector
12HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib