blob: d87bb29afd2afbf52ad062eda9a7742cecad60d2 [file] [log] [blame]
Peter Foleyadb19fb2014-09-25 11:23:09 -07001# List of programs to build
Peter Foley15565822014-09-25 11:23:43 -07002hostprogs-y := vdso_test
3hostprogs-$(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