[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 2/5] configs: Add a CONFIG_SPLIT_IRQ switch for the sp
From: |
Thomas Huth |
Subject: |
[Qemu-ppc] [PATCH 2/5] configs: Add a CONFIG_SPLIT_IRQ switch for the split-irq device |
Date: |
Fri, 19 Oct 2018 15:14:02 +0200 |
If the user only wants to compile targets that do not require the
"split-irq" device, we should also not compile split-irq.c. Add a proper
CONFIG_SPLIT_IRQ switch to be able to choose this more flexibly.
Signed-off-by: Thomas Huth <address@hidden>
---
default-configs/arm-softmmu.mak | 1 +
hw/core/Makefile.objs | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index dc6a581..a3a3b66 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -5,6 +5,7 @@ include usb.mak
CONFIG_VGA=y
CONFIG_NAND=y
CONFIG_OR_IRQ=y
+CONFIG_SPLIT_IRQ=y
CONFIG_ECC=y
CONFIG_SERIAL=y
CONFIG_SERIAL_ISA=y
diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
index 29b5cfd..cafbe01 100644
--- a/hw/core/Makefile.objs
+++ b/hw/core/Makefile.objs
@@ -18,7 +18,7 @@ common-obj-$(CONFIG_FITLOADER) += loader-fit.o
common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
common-obj-$(CONFIG_SOFTMMU) += register.o
common-obj-$(CONFIG_OR_IRQ) += or-irq.o
-common-obj-$(CONFIG_SOFTMMU) += split-irq.o
+common-obj-$(CONFIG_SPLIT_IRQ) += split-irq.o
common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
common-obj-$(CONFIG_SOFTMMU) += generic-loader.o
--
1.8.3.1
- [Qemu-ppc] [PATCH 0/5] Add more CONFIG switches to make the build more modular, Thomas Huth, 2018/10/19
- [Qemu-ppc] [PATCH 1/5] configs: Add a CONFIG_OR_IRQ switch for the or-irq device, Thomas Huth, 2018/10/19
- [Qemu-ppc] [PATCH 3/5] configs: Add a CONFIG_REGISTER switch for the "register" device, Thomas Huth, 2018/10/19
- [Qemu-ppc] [PATCH 2/5] configs: Add a CONFIG_SPLIT_IRQ switch for the split-irq device,
Thomas Huth <=
- [Qemu-ppc] [PATCH 4/5] configs: Add a CONFIG_UNIMP switch for the "unimplemented-device", Thomas Huth, 2018/10/19
- Re: [Qemu-ppc] [PATCH 4/5] configs: Add a CONFIG_UNIMP switch for the "unimplemented-device", Peter Maydell, 2018/10/19
- Re: [Qemu-ppc] [PATCH 4/5] configs: Add a CONFIG_UNIMP switch for the "unimplemented-device", Philippe Mathieu-Daudé, 2018/10/19
- Re: [Qemu-ppc] [PATCH 4/5] configs: Add a CONFIG_UNIMP switch for the "unimplemented-device", Paolo Bonzini, 2018/10/19
- Re: [Qemu-ppc] [PATCH 4/5] configs: Add a CONFIG_UNIMP switch for the "unimplemented-device", Peter Maydell, 2018/10/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 4/5] configs: Add a CONFIG_UNIMP switch for the "unimplemented-device", Paolo Bonzini, 2018/10/20