summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:15 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:13 -0500
commitae573db3cfeffeb61801e2a0d235b6ba52586a54 (patch)
tree2c4dc93b6b3662593729667b3574f62d3e68ff2e /Makefile
parentb21fd8e60a468951b81df48ec318111b1645d832 (diff)
Only compile max7310 when one target uses it
Patchworks-ID: 35210 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 8c0a1f19b0..55380f1795 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,8 @@ obj-y += readline.o console.o
obj-y += tcg-runtime.o host-utils.o
obj-y += irq.o ioport.o
obj-$(CONFIG_PTIMER) += ptimer.o
-obj-y += i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o
+obj-$(CONFIG_MAX7310) += max7310.o
+obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o wm8750.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