aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:19 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:15 -0500
commit03aba0e393cd32aabd108e2adef5d68f4fc3b3b3 (patch)
treec13f4a93d168e76b38d340681ae0a591c692a2b3
parent3c848e2ad8dfad2aa02d96a250bed13404cea5a6 (diff)
Only compile lm832x when one target uses it
Patchworks-ID: 35211 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 f6f1eb640f..8776122c7e 100644
--- a/Makefile
+++ b/Makefile
@@ -102,9 +102,10 @@ obj-$(CONFIG_MAX7310) += max7310.o
obj-$(CONFIG_WM8750) += wm8750.o
obj-$(CONFIG_TWL92230) += twl92230.o
obj-$(CONFIG_TSC2005) += tsc2005.o
+obj-$(CONFIG_LM832X) += lm832x.o
obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
obj-y += ssd0303.o ssd0323.o ads7846.o stellaris_input.o
-obj-y += tmp105.o lm832x.o eeprom93xx.o
+obj-y += tmp105.o eeprom93xx.o
obj-y += scsi-disk.o cdrom.o
obj-y += scsi-generic.o scsi-bus.o
obj-y += usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-msd.o usb-wacom.o
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index 740c3a8552..d1e3924421 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -11,3 +11,4 @@ CONFIG_MAX7310=y
CONFIG_WM8750=y
CONFIG_TWL92230=y
CONFIG_TSC2005=y
+CONFIG_LM832X=y