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