summaryrefslogtreecommitdiff
path: root/drivers/block/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/Makefile')
-rw-r--r--drivers/block/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/block/Makefile b/drivers/block/Makefile
index 3f75934..436b79f 100644
--- a/drivers/block/Makefile
+++ b/drivers/block/Makefile
@@ -7,6 +7,10 @@
obj-$(CONFIG_BLK) += blk-uclass.o
+ifndef CONFIG_BLK
+obj-y += blk_legacy.o
+endif
+
obj-$(CONFIG_AHCI) += ahci-uclass.o
obj-$(CONFIG_SCSI_AHCI) += ahci.o
obj-$(CONFIG_DWC_AHSATA) += dwc_ahsata.o