]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - Kbuild
Enhance the benchmark code a little. Add image_end symbol.
[jailhouse.git] / Kbuild
diff --git a/Kbuild b/Kbuild
index b865b8747dbbd1a24a10f99fa393bd753871f68b..901317918b5b298c7629a83603d84be3bf55d866 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -1,7 +1,7 @@
 #
 # Jailhouse, a Linux-based partitioning hypervisor
 #
-# Copyright (c) Siemens AG, 2013, 2014
+# Copyright (c) Siemens AG, 2013-2015
 #
 # Authors:
 #  Jan Kiszka <jan.kiszka@siemens.com>
 # the COPYING file in the top-level directory.
 #
 
-subdir-y := hypervisor configs inmates
+subdir-y := driver hypervisor configs inmates
 
-obj-m := jailhouse.o
+subdir-ccflags-y := -Werror
 
-ccflags-y := -I$(src)/hypervisor/arch/$(SRCARCH)/include \
-            -I$(src)/hypervisor/include
-
-jailhouse-y := driver.o
-
-$(obj)/driver.o: $(obj)/hypervisor
+# inmates build depends on generated config.mk of the hypervisor,
+# and the driver needs version.h from there
+$(obj)/inmates $(obj)/driver: $(obj)/hypervisor