Peter Foley | adb19fb | 2014-09-25 11:23:09 -0700 | [diff] [blame] | 1 | # List of programs to build |
Peter Foley | 1556582 | 2014-09-25 11:23:43 -0700 | [diff] [blame^] | 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 |
Peter Foley | adb19fb | 2014-09-25 11:23:09 -0700 | [diff] [blame] | 5 | vdso_test-objs := parse_vdso.o vdso_test.o |
| 6 | |
| 7 | # Tell kbuild to always build the programs |
Peter Foley | 1556582 | 2014-09-25 11:23:43 -0700 | [diff] [blame^] | 8 | always := $(hostprogs-y) |
Peter Foley | adb19fb | 2014-09-25 11:23:09 -0700 | [diff] [blame] | 9 | |
| 10 | HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99 |
Peter Foley | 1556582 | 2014-09-25 11:23:43 -0700 | [diff] [blame^] | 11 | HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector |
| 12 | HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib |