]> rtime.felk.cvut.cz Git - jailhouse.git/blob - Makefile
driver: Rename source file
[jailhouse.git] / Makefile
1 #
2 # Jailhouse, a Linux-based partitioning hypervisor
3 #
4 # Copyright (c) Siemens AG, 2013
5 #
6 # Authors:
7 #  Jan Kiszka <jan.kiszka@siemens.com>
8 #
9 # This work is licensed under the terms of the GNU GPL, version 2.  See
10 # the COPYING file in the top-level directory.
11 #
12
13 subdir-y := hypervisor configs inmates
14
15 obj-m := jailhouse.o
16
17 ccflags-y := -I$(src)/hypervisor/arch/$(SRCARCH)/include \
18              -I$(src)/hypervisor/include
19
20 jailhouse-y := driver.o
21
22 # out-of-tree build
23
24 KERNELDIR = /lib/modules/`uname -r`/build
25
26 modules modules_install clean:
27         $(MAKE) -C $(KERNELDIR) SUBDIRS=`pwd` $@
28
29 install: modules_install
30         depmod -aq
31
32 .PHONY: modules_install install clean