summaryrefslogtreecommitdiff
path: root/drivers/block/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/Makefile')
-rw-r--r--drivers/block/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/Makefile b/drivers/block/Makefile
index 055d42f7d4a..3feb0aa997d 100644
--- a/drivers/block/Makefile
+++ b/drivers/block/Makefile
@@ -9,6 +9,8 @@ ifndef CONFIG_$(SPL_)BLK
obj-y += blk_legacy.o
endif
+ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_IDE) += ide.o
+endif
obj-$(CONFIG_SANDBOX) += sandbox.o
obj-$(CONFIG_$(SPL_TPL_)BLOCK_CACHE) += blkcache.o