On 4/27/19 6:55 PM, Philippe Mathieu-Daudé wrote: > The 'core' ACPI functions are not X86-specific. > Let this file be built unconditionally, this will allow > us to use ACPI on non-X86 architectures. > > Suggested-by: Paolo Bonzini <pbonz...@redhat.com> > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > hw/acpi/Makefile.objs | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs > index c86edfbed90..09c810ac556 100644 > --- a/hw/acpi/Makefile.objs > +++ b/hw/acpi/Makefile.objs > @@ -1,4 +1,5 @@ > -common-obj-$(CONFIG_ACPI_X86) += core.o piix4.o pcihp.o > +common-obj-$(CONFIG_ACPI) += core.o
Sorry, sent from wrong branch :S Please consider reviewing with this snippet applied on top: -- >8 -- diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs @@ -1,4 +1,4 @@ -common-obj-$(CONFIG_ACPI) += core.o +common-obj-y += core.o --- I'll respin after getting some review comments. > +common-obj-$(CONFIG_ACPI_X86) += piix4.o pcihp.o > common-obj-$(CONFIG_ACPI_X86_ICH) += ich9.o tco.o > common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu_hotplug.o > common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) += memory_hotplug.o >