Only compile tmp105 when one target uses it
authorJuan Quintela <quintela@redhat.com>
Wed, 7 Oct 2009 00:41:20 +0000 (02:41 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Oct 2009 02:17:16 +0000 (21:17 -0500)
Patchworks-ID: 35214
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
default-configs/arm-softmmu.mak

index 8776122c7e864907d4922822ba3aad8b0475288f..f3952116b9af6e75d1c36a72f3a01a91200a84b1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -103,9 +103,10 @@ obj-$(CONFIG_WM8750) += wm8750.o
 obj-$(CONFIG_TWL92230) += twl92230.o
 obj-$(CONFIG_TSC2005) += tsc2005.o
 obj-$(CONFIG_LM832X) += lm832x.o
+obj-$(CONFIG_TMP105) += tmp105.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 eeprom93xx.o
+obj-y += 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
index d1e39244217b1bb403f5c93afec10c24f1a7334f..6cbd8a3f0cc2f9e7179c71b47960723140940f32 100644 (file)
@@ -12,3 +12,4 @@ CONFIG_WM8750=y
 CONFIG_TWL92230=y
 CONFIG_TSC2005=y
 CONFIG_LM832X=y
+CONFIG_TMP105=y