aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:25 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:17 -0500
commitee99ca01e89ce3b263fd163c95a30d452205ddd6 (patch)
tree3614fb909b7d74f73a4d1cabbd60cb73fce5d20b /Makefile
parentOnly compile ads7846 when one target uses it (diff)
downloadqemu-kvm-ee99ca01e89ce3b263fd163c95a30d452205ddd6.tar.gz
qemu-kvm-ee99ca01e89ce3b263fd163c95a30d452205ddd6.tar.bz2
qemu-kvm-ee99ca01e89ce3b263fd163c95a30d452205ddd6.zip
Only compile max111x when one target uses it
Patchworks-ID: 35219 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 369ec9fa0..b0c302719 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,8 @@ 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-$(CONFIG_MAX111X) += max111x.o
+obj-y += i2c.o smbus.o smbus_eeprom.o
obj-y += eeprom93xx.o
obj-y += scsi-disk.o cdrom.o
obj-y += scsi-generic.o scsi-bus.o