aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:12 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:12 -0500
commit626b2a65d6c5c17ff6917b711fc6d4fdc842b4fd (patch)
treec95a946b048f1db2ec15d8f91df5f6fa1666355f
parent2f3c407d81fb4ee4d050c8a8376101b167c0d0c4 (diff)
downloadqemu-626b2a65d6c5c17ff6917b711fc6d4fdc842b4fd.zip
qemu-626b2a65d6c5c17ff6917b711fc6d4fdc842b4fd.tar.gz
qemu-626b2a65d6c5c17ff6917b711fc6d4fdc842b4fd.tar.bz2
Only compile m48t59 when one target uses it
Patchworks-ID: 35204 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile.hw2
-rw-r--r--default-configs/ppc-softmmu.mak1
-rw-r--r--default-configs/ppc64-softmmu.mak1
-rw-r--r--default-configs/ppcemb-softmmu.mak1
-rw-r--r--default-configs/sparc-softmmu.mak2
-rw-r--r--default-configs/sparc64-softmmu.mak1
6 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.hw b/Makefile.hw
index 9e40439..f4b4469 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -19,7 +19,7 @@ obj-y += watchdog.o
obj-$(CONFIG_ECC) += ecc.o
obj-$(CONFIG_NAND) += nand.o
-obj-y += m48t59.o
+obj-$(CONFIG_M48T59) += m48t59.o
obj-$(CONFIG_ESCC) += escc.o
# PCI watchdog devices
diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 783b066..17dc12f 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -4,3 +4,4 @@ CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y
CONFIG_ESCC=y
+CONFIG_M48T59=y
diff --git a/default-configs/ppc64-softmmu.mak b/default-configs/ppc64-softmmu.mak
index e04d2c5..d56f5c2 100644
--- a/default-configs/ppc64-softmmu.mak
+++ b/default-configs/ppc64-softmmu.mak
@@ -4,3 +4,4 @@ CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y
CONFIG_ESCC=y
+CONFIG_M48T59=y
diff --git a/default-configs/ppcemb-softmmu.mak b/default-configs/ppcemb-softmmu.mak
index 9b1ac09..cb460c1 100644
--- a/default-configs/ppcemb-softmmu.mak
+++ b/default-configs/ppcemb-softmmu.mak
@@ -4,3 +4,4 @@ CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y
CONFIG_ESCC=y
+CONFIG_M48T59=y
diff --git a/default-configs/sparc-softmmu.mak b/default-configs/sparc-softmmu.mak
index bec73af..7a65137 100644
--- a/default-configs/sparc-softmmu.mak
+++ b/default-configs/sparc-softmmu.mak
@@ -4,4 +4,4 @@ CONFIG_QDEV_ADDR=y
CONFIG_ECC=y
CONFIG_ESP=y
CONFIG_ESCC=y
-
+CONFIG_M48T59=y
diff --git a/default-configs/sparc64-softmmu.mak b/default-configs/sparc64-softmmu.mak
index aaccf0b..a249141 100644
--- a/default-configs/sparc64-softmmu.mak
+++ b/default-configs/sparc64-softmmu.mak
@@ -1,3 +1,4 @@
# Default configuration for sparc64-softmmu
CONFIG_ISA_MMIO=y
+CONFIG_M48T59=y