From 6a559be594e77f323ecf2f8ad4c681b9a61391a3 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 7 Oct 2009 02:41:22 +0200 Subject: [PATCH] Only compile sd0303 when one target uses it Patchworks-ID: 35216 Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- Makefile | 3 ++- default-configs/arm-softmmu.mak | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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