xen/Makefile: fix dom-y build
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Oct 2012 15:00:43 +0000 (16:00 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 2 Oct 2012 16:34:55 +0000 (12:34 -0400)
We need to add $(dom0-y) to obj-$(CONFIG_XEN_DOM0) after dom0-y is
defined otherwise we end up adding nothing.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/Makefile

index cd28aae..275abfc 100644 (file)
@@ -8,10 +8,10 @@ obj-y += xenbus/
 nostackp := $(call cc-option, -fno-stack-protector)
 CFLAGS_features.o                      := $(nostackp)
 
-obj-$(CONFIG_XEN_DOM0)                 += $(dom0-y)
 dom0-$(CONFIG_PCI) += pci.o
 dom0-$(CONFIG_ACPI) += acpi.o
 dom0-$(CONFIG_X86) += pcpu.o
+obj-$(CONFIG_XEN_DOM0)                 += $(dom0-y)
 obj-$(CONFIG_BLOCK)                    += biomerge.o
 obj-$(CONFIG_XEN_XENCOMM)              += xencomm.o
 obj-$(CONFIG_XEN_BALLOON)              += xen-balloon.o