Patchwork [26/30] Only compile sd0323 when one target uses it

login
register
mail settings
Submitter Juan Quintela
Date Aug. 27, 2009, 7:18 p.m.
Message ID <52f511ca17bcbb01a457062ba4d15debe9d5a3d4.1251399960.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/32303/
State Superseded
Headers show

Comments

Juan Quintela - Aug. 27, 2009, 7:18 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile                        |    3 ++-
 default-configs/arm-softmmu.mak |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/Makefile b/Makefile
index 0b01725..5832860 100644
--- a/Makefile
+++ b/Makefile
@@ -92,8 +92,9 @@  obj-$(CONFIG_LM832X) += lm832x.o
 obj-$(CONFIG_TMP105) += tmp105.o
 obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
 obj-$(CONFIG_SSD0303) += ssd0303.o
+obj-$(CONFIG_SSD0323) += ssd0323.o
 obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
-obj-y += ssd0323.o ads7846.o
+obj-y += ads7846.o
 obj-y += eeprom93xx.o
 obj-y += scsi-disk.o cdrom.o
 obj-y += scsi-generic.o
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index aed1ea3..1d069b1 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -15,3 +15,4 @@  CONFIG_LM832X=y
 CONFIG_TMP105=y
 CONFIG_STELLARIS_INPUT=y
 CONFIG_SD0303=y
+CONFIG_SD0323=y