summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ptp/Makefile
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-09-13 11:30:03 -0600
committerShuah Khan <shuahkh@osg.samsung.com>2016-09-20 09:54:38 -0600
commit8dbbf854202610a033a0788c33d8feb1548d3eeb (patch)
tree798c50901e2d723c2d1f4a788c93f91d2a2e0232 /tools/testing/selftests/ptp/Makefile
parent92dd8dd4d07f170db0638a20a8db691262da4e5e (diff)
downloadlinux-stable-8dbbf854202610a033a0788c33d8feb1548d3eeb.tar.gz
linux-stable-8dbbf854202610a033a0788c33d8feb1548d3eeb.tar.bz2
linux-stable-8dbbf854202610a033a0788c33d8feb1548d3eeb.zip
selftests: move ptp tests from Documentation/ptp
Remove ptp from Makefile to move the test to selftests. Update ptp Makefile to work under selftests. ptp will not be run as part of selftests suite and will not be included in install targets. They can be built separately for now. Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/ptp/Makefile')
-rw-r--r--tools/testing/selftests/ptp/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/selftests/ptp/Makefile b/tools/testing/selftests/ptp/Makefile
new file mode 100644
index 000000000000..83dd42b2129e
--- /dev/null
+++ b/tools/testing/selftests/ptp/Makefile
@@ -0,0 +1,8 @@
+TEST_PROGS := testptp
+LDLIBS += -lrt
+all: $(TEST_PROGS)
+
+include ../lib.mk
+
+clean:
+ rm -fr $(TEST_PROGS)