summaryrefslogtreecommitdiffstats
path: root/tools/hv
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2014-02-09 11:41:52 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-15 11:52:35 -0800
commit3eb2094c59e89db2bedd401e23c7a870081c9edb (patch)
tree969814179eedd4eb8361f45d37b712bcee89d9cb /tools/hv
parenta7155f4e2252be167fa69468e11b19a3fac5e625 (diff)
downloadlinux-stable-3eb2094c59e89db2bedd401e23c7a870081c9edb.tar.gz
linux-stable-3eb2094c59e89db2bedd401e23c7a870081c9edb.tar.bz2
linux-stable-3eb2094c59e89db2bedd401e23c7a870081c9edb.zip
Adding makefile for tools/hv
Currently, there is no makefile for the Hyper-V tools. This patch adds the missing makefile, and adds it to the main tools makefile. Signed-off-by: Bjarke Istrup Pedersen <gurligebis@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv')
-rw-r--r--tools/hv/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/hv/Makefile b/tools/hv/Makefile
new file mode 100644
index 000000000000..bd22f786a60c
--- /dev/null
+++ b/tools/hv/Makefile
@@ -0,0 +1,13 @@
+# Makefile for Hyper-V tools
+
+CC = $(CROSS_COMPILE)gcc
+PTHREAD_LIBS = -lpthread
+WARNINGS = -Wall -Wextra
+CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS)
+
+all: hv_kvp_daemon hv_vss_daemon
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ $(RM) hv_kvp_daemon hv_vss_daemon