summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:16 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:14 -0500
commit976ca9abeec9267a1eadb5f5640bed4553febe52 (patch)
treefcd53bb5ab24288167c41a03c14b8ab5f7aa73a9
parentae573db3cfeffeb61801e2a0d235b6ba52586a54 (diff)
downloadqemu-976ca9abeec9267a1eadb5f5640bed4553febe52.tar.gz
Only compile wm8750 when one target uses it
Patchworks-ID: 35209 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile3
-rw-r--r--default-configs/arm-softmmu.mak1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55380f1795..5ec43707b1 100644
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,8 @@ obj-y += tcg-runtime.o host-utils.o
obj-y += irq.o ioport.o
obj-$(CONFIG_PTIMER) += ptimer.o
obj-$(CONFIG_MAX7310) += max7310.o
-obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o wm8750.o
+obj-$(CONFIG_WM8750) += wm8750.o
+obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
obj-y += ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o
obj-y += tmp105.o lm832x.o eeprom93xx.o tsc2005.o
obj-y += scsi-disk.o cdrom.o
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index 88232c7e10..6149b97c44 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -8,3 +8,4 @@ CONFIG_ECC=y
CONFIG_PTIMER=y
CONFIG_SD=y
CONFIG_MAX7310=y
+CONFIG_WM8750=y