2014-09-26 02:23:09 +08:00
|
|
|
# List of programs to build
|
2014-09-26 02:23:43 +08:00
|
|
|
hostprogs-y := vdso_test
|
|
|
|
hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
|
|
|
|
vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
|
2014-09-26 02:23:09 +08:00
|
|
|
vdso_test-objs := parse_vdso.o vdso_test.o
|
|
|
|
|
|
|
|
# Tell kbuild to always build the programs
|
2014-09-26 02:23:43 +08:00
|
|
|
always := $(hostprogs-y)
|
2014-09-26 02:23:09 +08:00
|
|
|
|
|
|
|
HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
|
2014-09-26 02:23:43 +08:00
|
|
|
HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector
|
|
|
|
HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib
|