lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH-WIP 13/13] xen/arm: compile grant-table features events and xenbus, do not compile pci
Date
Also select XEN_DOM0 by default.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
arch/arm/Kconfig | 4 ++++
drivers/xen/Makefile | 7 ++++---
2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 57b294c..1a95b35 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2201,9 +2201,13 @@ config NEON
Say Y to include support code for NEON, the ARMv7 Advanced SIMD
Extension.

+config XEN_DOM0
+ def_bool y
+
config XEN
bool "Xen guest support on ARM"
depends on ARM
+ select XEN_DOM0
help
Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.

diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
index dab8305..e3542e1 100644
--- a/drivers/xen/Makefile
+++ b/drivers/xen/Makefile
@@ -1,7 +1,9 @@
ifeq (CONFIG_X86,y)
-obj-y += grant-table.o features.o events.o manage.o balloon.o
-obj-y += xenbus/
+obj-y += manage.o balloon.o
+obj-$(CONFIG_XEN_DOM0) += pci.o
endif
+obj-y += grant-table.o features.o events.o
+obj-y += xenbus/

nostackp := $(call cc-option, -fno-stack-protector)
CFLAGS_features.o := $(nostackp)
@@ -21,7 +23,6 @@ obj-$(CONFIG_XEN_SYS_HYPERVISOR) += sys-hypervisor.o
obj-$(CONFIG_XEN_PVHVM) += platform-pci.o
obj-$(CONFIG_XEN_TMEM) += tmem.o
obj-$(CONFIG_SWIOTLB_XEN) += swiotlb-xen.o
-obj-$(CONFIG_XEN_DOM0) += pci.o
obj-$(CONFIG_XEN_PCIDEV_BACKEND) += xen-pciback/

xen-evtchn-y := evtchn.o
--
1.7.2.5


\
 
 \ /
  Last update: 2012-02-23 18:53    [W:0.884 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site