aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/timestamping/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/networking/timestamping/Makefile')
-rw-r--r--Documentation/networking/timestamping/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/networking/timestamping/Makefile b/Documentation/networking/timestamping/Makefile
new file mode 100644
index 00000000..e7997344
--- /dev/null
+++ b/Documentation/networking/timestamping/Makefile
@@ -0,0 +1,13 @@
+# kbuild trick to avoid linker error. Can be omitted if a module is built.
+obj- := dummy.o
+
+# List of programs to build
+hostprogs-y := timestamping
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
+
+clean:
+ rm -f timestamping