aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ptp/Makefile
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2014-09-25 11:23:09 -0700
committerJiri Kosina <jkosina@suse.cz>2014-09-26 11:02:56 +0200
commitadb19fb66eeebac07fe37d968725bb8906dadb8e (patch)
tree776e0b519e0ba26ba5641f951f6bf2b26c2bdae3 /Documentation/ptp/Makefile
parentDocumentation: use subdir-y to avoid unnecessary built-in.o files (diff)
downloadlinux-dev-adb19fb66eeebac07fe37d968725bb8906dadb8e.tar.xz
linux-dev-adb19fb66eeebac07fe37d968725bb8906dadb8e.zip
Documentation: add makefiles for more targets
Add a bunch of previously unbuilt source files to the Documentation build machinery. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
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