Based on kernel version 4.8. Page generated on 2016-10-06 23:18 EST.
1 # List of programs to build 2 hostprogs-y := testptp 3 4 # Tell kbuild to always build the programs 5 always := $(hostprogs-y) 6 7 HOSTCFLAGS_testptp.o += -I$(objtree)/usr/include 8 HOSTLOADLIBES_testptp := -lrt