[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: remove nmi.c and fw-path-provider.c
From: |
Alexey Kardashevskiy |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: remove nmi.c and fw-path-provider.c |
Date: |
Mon, 6 Nov 2017 11:44:46 +1100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 04/11/17 06:38, Laurent Vivier wrote:
> linux-user binaries don't need firmware and NMI,
> so don't add them in this case, move QDEV
> firmware functions to qdev-fw.c
When configured with --target-list=ppc64-linux-user , config-host.mak gets
TARGET_DIRS=ppc64-linux-user and I would expect CONFIG_SOFTMMU to be
disabled in Makefile#27 and qdev.c not to be compiled at all but this is
not happening, I wonder why...
>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> hw/core/Makefile.objs | 5 +--
> hw/core/qdev-fw.c | 96
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> hw/core/qdev.c | 77 -----------------------------------------
> 3 files changed, 99 insertions(+), 79 deletions(-)
> create mode 100644 hw/core/qdev-fw.c
>
> diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
> index f8d7a4aaed..1240728c87 100644
> --- a/hw/core/Makefile.objs
> +++ b/hw/core/Makefile.objs
> @@ -1,11 +1,12 @@
> # core qdev-related obj files, also used by *-user:
> common-obj-y += qdev.o qdev-properties.o
> common-obj-y += bus.o reset.o
> -common-obj-y += fw-path-provider.o
> +common-obj-$(CONFIG_SOFTMMU) += qdev-fw.o
> +common-obj-$(CONFIG_SOFTMMU) += fw-path-provider.o
> # irq.o needed for qdev GPIO handling:
> common-obj-y += irq.o
> common-obj-y += hotplug.o
> -common-obj-y += nmi.o
> +common-obj-$(CONFIG_SOFTMMU) += nmi.o
>
> common-obj-$(CONFIG_EMPTY_SLOT) += empty_slot.o
> common-obj-$(CONFIG_XILINX_AXI) += stream.o
--
Alexey