aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:24 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:17 -0500
commit20a4afc4216fc6031105d9735510dbe7a4979069 (patch)
tree4c15738f3b29c02ff501e0b0ed07c0302dfbfc13
parent54bcf0747153321862710a0e4fe6593fb3ef89e5 (diff)
downloadqemu-20a4afc4216fc6031105d9735510dbe7a4979069.zip
qemu-20a4afc4216fc6031105d9735510dbe7a4979069.tar.gz
qemu-20a4afc4216fc6031105d9735510dbe7a4979069.tar.bz2
Only compile ads7846 when one target uses it
Patchworks-ID: 35218 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile2
-rw-r--r--default-configs/arm-softmmu.mak1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1736abd..369ec9f 100644
--- a/Makefile
+++ b/Makefile
@@ -107,8 +107,8 @@ obj-$(CONFIG_TMP105) += tmp105.o
obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
obj-$(CONFIG_SSD0303) += ssd0303.o
obj-$(CONFIG_SSD0323) += ssd0323.o
+obj-$(CONFIG_ADS7846) += ads7846.o
obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
-obj-y += ads7846.o
obj-y += eeprom93xx.o
obj-y += scsi-disk.o cdrom.o
obj-y += scsi-generic.o scsi-bus.o
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index 1d069b1..f68273d 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -16,3 +16,4 @@ CONFIG_TMP105=y
CONFIG_STELLARIS_INPUT=y
CONFIG_SD0303=y
CONFIG_SD0323=y
+CONFIG_ADS7846=y