summaryrefslogtreecommitdiff
path: root/Documentation/ptp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ptp/Makefile')
-rw-r--r--Documentation/ptp/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ptp/Makefile b/Documentation/ptp/Makefile
new file mode 100644
index 000000000000..293d6c09a11f
--- /dev/null
+++ b/Documentation/ptp/Makefile
@@ -0,0 +1,8 @@
+# List of programs to build
+hostprogs-y := testptp
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_testptp.o += -I$(objtree)/usr/include
+HOSTLOADLIBES_testptp := -lrt