summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:26 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:17 -0500
commit93a604004a5b482675e791cc2c168c0781dc789a (patch)
treef3ae957a30c13dc74e7a987a4160e183dcd41ccd
parentee99ca01e89ce3b263fd163c95a30d452205ddd6 (diff)
downloadqemu-93a604004a5b482675e791cc2c168c0781dc789a.tar.gz
Only compile ssi-sd when one target uses it
Patchworks-ID: 35220 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile2
-rw-r--r--default-configs/arm-softmmu.mak1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0c3027197..f967226538 100644
--- a/Makefile
+++ b/Makefile
@@ -115,7 +115,7 @@ 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
obj-y += usb-serial.o usb-net.o usb-bus.o
-obj-y += ssi-sd.o
+obj-$(CONFIG_SSI_SD) += ssi-sd.o
obj-$(CONFIG_SD) += sd.o
obj-y += bt.o bt-host.o bt-vhci.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o usb-bt.o
obj-y += bt-hci-csr.o
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index 486409d384..615288e2f7 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -18,3 +18,4 @@ CONFIG_SD0303=y
CONFIG_SD0323=y
CONFIG_ADS7846=y
CONFIG_MAX111X=y
+CONFIG_SSI_SD=y