aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:14 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:13 -0500
commitb21fd8e60a468951b81df48ec318111b1645d832 (patch)
tree3512a08aa1e807163e4ed3046903e0e785a78d24 /Makefile
parent5f74377c3d3a5b9cbc55e01966b57ba0d7b11a60 (diff)
Only compile sd when one target uses it
Patchworks-ID: 35208 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 204a34f437..8c0a1f19b0 100644
--- a/Makefile
+++ b/Makefile
@@ -105,7 +105,8 @@ 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 += sd.o ssi-sd.o
+obj-y += 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
obj-y += buffered_file.o migration.o migration-tcp.o net.o qemu-sockets.o