xref: /openbmc/u-boot/drivers/block/Makefile (revision 224f7452)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6obj-$(CONFIG_$(SPL_)BLK) += blk-uclass.o
7
8ifndef CONFIG_$(SPL_)BLK
9obj-y += blk_legacy.o
10endif
11
12ifndef CONFIG_SPL_BUILD
13obj-$(CONFIG_IDE) += ide.o
14endif
15obj-$(CONFIG_SANDBOX) += sandbox.o
16obj-$(CONFIG_$(SPL_TPL_)BLOCK_CACHE) += blkcache.o
17