aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:22 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:16 -0500
commit6a559be594e77f323ecf2f8ad4c681b9a61391a3 (patch)
treefe854bc2f05b392f79c64d2b89b8bb218d80f4ae
parent4aa5b83fd1a306ae08b30447dabe43f436a99672 (diff)
Only compile sd0303 when one target uses it
Patchworks-ID: 35216 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 dfc0b73102..1a9fd99fe3 100644
--- a/Makefile
+++ b/Makefile
@@ -105,8 +105,9 @@ obj-$(CONFIG_TSC2005) += tsc2005.o
obj-$(CONFIG_LM832X) += lm832x.o
obj-$(CONFIG_TMP105) += tmp105.o
obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
+obj-$(CONFIG_SSD0303) += ssd0303.o
obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
-obj-y += ssd0303.o ssd0323.o ads7846.o
+obj-y += ssd0323.o 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 dddc2a6289..aed1ea3638 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -14,3 +14,4 @@ CONFIG_TSC2005=y
CONFIG_LM832X=y
CONFIG_TMP105=y
CONFIG_STELLARIS_INPUT=y
+CONFIG_SD0303=y