Re: [Xen-devel] [PATCH 10/24] xen: do not compile manage, balloon,pci, acpi and cpu_hotplug on ARM
From: Stefano Stabellini
Date: Fri Jul 27 2012 - 12:52:31 EST
On Fri, 27 Jul 2012, Jan Beulich wrote:
> >>> On 26.07.12 at 17:33, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> 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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/