1 # vdso_test won't build for glibc < 2.16, so disable it
2 # hostprogs-y := vdso_test
3 hostprogs-
$(CONFIG_X86
) := vdso_standalone_test_x86
4 vdso_standalone_test_x86-objs
:= vdso_standalone_test_x86.o parse_vdso.o
5 vdso_test-objs
:= parse_vdso.o vdso_test.o
7 # Tell kbuild to always build the programs
8 always
:= $(hostprogs-y
)
10 HOSTCFLAGS
:= -I
$(objtree
)/usr
/include -std
=gnu99
11 HOSTCFLAGS_vdso_standalone_test_x86.o
:= -fno-asynchronous-unwind-tables
-fno-stack-protector
12 HOSTLOADLIBES_vdso_standalone_test_x86
:= -nostdlib
13 ifeq ($(CONFIG_X86_32
),y
)
14 HOSTLOADLIBES_vdso_standalone_test_x86
+= -lgcc_s