]> rtime.felk.cvut.cz Git - jailhouse.git/blob - inmates/demos/arm/Makefile
arm: basic inmates demos
[jailhouse.git] / inmates / demos / arm / Makefile
1 #
2 # Jailhouse, a Linux-based partitioning hypervisor
3 #
4 # Copyright (c) ARM Limited, 2014
5 #
6 # Authors:
7 #  Jean-Philippe Brucker <jean-philippe.brucker@arm.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 KBUILD_AFLAGS := $(filter-out -include asm/unified.h,$(KBUILD_AFLAGS))
14
15 include $(INMATES_LIB)/Makefile.lib
16
17 LIBDIR := ../../lib/arm
18
19 INMATES := gic-demo.bin uart-demo.bin
20
21 gic-demo-y := gic-demo.o \
22         $(addprefix $(LIBDIR)/,header.o printk.o gic.o $(DRIVERS))
23
24 uart-demo-y := uart-demo.o \
25         $(addprefix $(LIBDIR)/,header.o printk.o $(DRIVERS))
26
27
28 targets += $(INMATES:.bin=-y) $(INMATES:.bin=-linked.o) $(INMATES)
29 always := $(INMATES)