Patchwork [29/30] Only compile ssi-sd when one target uses it

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

Comments

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

Patch

diff --git a/Makefile b/Makefile
index 89e217f..9ee6d92 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@  obj-y += scsi-disk.o cdrom.o
 obj-y += scsi-generic.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
-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 486409d..615288e 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