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 cd28aae575dd39b83db59b8ca6306737cef8ddbf..275abfc615cb399199aa9426725c2840c723d92b 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