summaryrefslogtreecommitdiff
path: root/Documentation/networking/Makefile
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-03-12 22:23:27 +0300
committerDavid S. Miller <davem@davemloft.net>2010-03-16 02:00:46 +0300
commitf28f9e43b3d81d1e69da0ebf77c8a6780cb5e0c8 (patch)
tree691df61b8d3456f1e952df04926f09b91827b39b /Documentation/networking/Makefile
parent876e956f207373f974f2808c36aabcd4e32c9ee4 (diff)
downloadlinux-f28f9e43b3d81d1e69da0ebf77c8a6780cb5e0c8.tar.xz
timestamping: fix example build
Fix Makefiles so that Documentation/networking/timestamping/timestamping.c will build when using the CONFIG_BUILD_DOCSRC kconfig option. (timestamping.c does not build currently with its simple Makefile.) Also fix printf format warnings. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/Makefile')
-rw-r--r--Documentation/networking/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/networking/Makefile b/Documentation/networking/Makefile
index 6d8af1ac56c4..5aba7a33aeeb 100644
--- a/Documentation/networking/Makefile
+++ b/Documentation/networking/Makefile
@@ -6,3 +6,5 @@ hostprogs-y := ifenslave
# Tell kbuild to always build the programs
always := $(hostprogs-y)
+
+obj-m := timestamping/