summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ptp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/ptp/Makefile')
-rw-r--r--tools/testing/selftests/ptp/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/selftests/ptp/Makefile b/tools/testing/selftests/ptp/Makefile
new file mode 100644
index 000000000..ef06de089
--- /dev/null
+++ b/tools/testing/selftests/ptp/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -I../../../../usr/include/
+TEST_PROGS := testptp
+LDLIBS += -lrt
+all: $(TEST_PROGS)
+
+include ../lib.mk
+
+clean:
+ rm -fr $(TEST_PROGS)