[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 03/12] hw/ppc/Makefile: Add a way to disable the PPC4
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 03/12] hw/ppc/Makefile: Add a way to disable the PPC4xx boards |
Date: |
Sun, 21 Jan 2018 16:33:44 +1100 |
From: Thomas Huth <address@hidden>
We've got the config switch CONFIG_PPC4XX, so we should use it
in the Makefile accordingly and only include the PPC4xx boards
if this switch has been enabled. (Note: Unfortunately, the files
ppc4xx_devs.c and ppc405_uc.c still have to be included in the
build anyway to fulfil some complicated linker dependencies ...
so these are subject to a more thourough clean-up later)
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/ppc/Makefile.objs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs
index 1faff853b7..ad1928c5d8 100644
--- a/hw/ppc/Makefile.objs
+++ b/hw/ppc/Makefile.objs
@@ -12,8 +12,8 @@ obj-y += spapr_pci_vfio.o
endif
obj-$(CONFIG_PSERIES) += spapr_rtas_ddw.o
# PowerPC 4xx boards
-obj-y += ppc405_boards.o ppc4xx_devs.o ppc405_uc.o ppc440_bamboo.o
-obj-y += ppc4xx_pci.o
+obj-y += ppc4xx_devs.o ppc405_uc.o
+obj-$(CONFIG_PPC4XX) += ppc4xx_pci.o ppc405_boards.o ppc440_bamboo.o
# PReP
obj-$(CONFIG_PREP) += prep.o
obj-$(CONFIG_PREP) += prep_systemio.o
--
2.14.3
- [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180121, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 03/12] hw/ppc/Makefile: Add a way to disable the PPC4xx boards,
David Gibson <=
- [Qemu-devel] [PULL 01/12] default-configs/ppc64-softmmu: Include 32-bit configs instead of copying them, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 02/12] default-configs/ppc-softmmu: Restructure the switches according to the machines, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 09/12] sm501: Add missing break to case, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 12/12] target/ppc/spapr_caps: Add macro to generate spapr_caps migration vmstate, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 04/12] target/ppc: fix doorbell and hypervisor doorbell definitions, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 08/12] target-ppc: optimize cmp translation, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 10/12] sii3112: Add explicit type casts to avoid unintended sign extension, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 05/12] target/ppc: msgsnd and msgclr instructions need hypervisor privilege, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 07/12] spapr: fix device tree properties when using compatibility mode, David Gibson, 2018/01/21
- [Qemu-devel] [PULL 06/12] spapr: drop duplicate variable in spapr_core_plug(), David Gibson, 2018/01/21