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