aboutsummaryrefslogtreecommitdiff
path: root/Documentation/networking/timestamping/Makefile
diff options
context:
space:
mode:
authorMeizu OpenSource <patchwork@meizu.com>2016-08-15 10:19:42 +0800
committerMeizu OpenSource <patchwork@meizu.com>2016-08-15 10:19:42 +0800
commitd2e1446d81725c351dc73a03b397ce043fb18452 (patch)
tree4dbc616b7f92aea39cd697a9084205ddb805e344 /Documentation/networking/timestamping/Makefile
first commit
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 000000000..e79973443
--- /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