Patchwork [15/30] Only compile m48t59 when one target uses it

login
register
mail settings
Submitter Juan Quintela
Date Aug. 27, 2009, 7:17 p.m.
Message ID <6b9f526465a2b82c24e367ffe97f5dae1865080a.1251399960.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/32292/
State Superseded
Headers show

Comments

Juan Quintela - Aug. 27, 2009, 7:17 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.hw                         |    2 +-
 default-configs/ppc-softmmu.mak     |    1 +
 default-configs/ppc64-softmmu.mak   |    1 +
 default-configs/ppcemb-softmmu.mak  |    1 +
 default-configs/sparc-softmmu.mak   |    1 +
 default-configs/sparc64-softmmu.mak |    1 +
 6 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/Makefile.hw b/Makefile.hw
index 231dfc3..dbdcbd2 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -18,7 +18,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

 # SCSI layer
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 853d6bb..0bc6ff3 100644
--- a/default-configs/sparc-softmmu.mak
+++ b/default-configs/sparc-softmmu.mak
@@ -3,3 +3,4 @@ 
 CONFIG_QDEV_ADDR=y
 CONFIG_ECC=y
 CONFIG_ESCC=y
+CONFIG_M48T59=y
diff --git a/default-configs/sparc64-softmmu.mak b/default-configs/sparc64-softmmu.mak
index 251f723..06529cd 100644
--- a/default-configs/sparc64-softmmu.mak
+++ b/default-configs/sparc64-softmmu.mak
@@ -2,3 +2,4 @@ 

 CONFIG_ISA_MMIO=y
 CONFIG_ESP=y
+CONFIG_M48T59=y