summaryrefslogtreecommitdiff
path: root/Documentation/networking/timestamping/Makefile
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /Documentation/networking/timestamping/Makefile
Initial file dump from open source releaseHEADmaster
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