forked from siemens/jailhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKbuild
31 lines (24 loc) · 756 Bytes
/
Kbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Jailhouse, a Linux-based partitioning hypervisor
#
# Copyright (c) Siemens AG, 2013, 2014
#
# Authors:
# Jan Kiszka <[email protected]>
# Benjamin Block <[email protected]>
#
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
subdir-y := hypervisor configs inmates
obj-m := jailhouse.o
ccflags-y := -I$(src)/hypervisor/arch/$(SRCARCH)/include \
-I$(src)/hypervisor/include
jailhouse-y := driver.o
$(obj)/hypervisor/include/jailhouse/version.h: $(obj)/hypervisor
@
$(obj)/driver.o: $(obj)/hypervisor/include/jailhouse/version.h
# inmates build depends on generated config.mk of the hypervisor
ifeq ($(clean),)
$(addprefix $(obj)/,inmates): $(obj)/hypervisor
endif