On Fri, 27 Jul 2012, Jan Beulich wrote:
On 26.07.12 at 17:33, Stefano Stabellini stefano.stabellini@eu.citrix.com wrote:
--- a/drivers/xen/Makefile +++ b/drivers/xen/Makefile @@ -1,11 +1,15 @@ -obj-y += grant-table.o features.o events.o manage.o balloon.o +ifneq ($(CONFIG_ARM),y) +obj-y += manage.o balloon.o
While I assume that this part (and the cpu_hotplug one below) is temporary, ...
+obj-$(CONFIG_XEN_DOM0) += pci.o acpi.o
... at least this one should imo be solved with a proper long term mechanism, i.e. the usual var-$(CONFIG_...) approach, i.e.
dom0-$(CONFIG_PCI) := pci.o dom0-$(CONFIG_ACPI) := acpi.o obj-$(CONFIG_XEN_DOM0) += $(dom0-y)
That's a good suggestion, thanks!