Merge tag 'u-boot-rockchip-20200501' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / drivers / mtd / nand / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2
3 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
4 nandcore-objs := core.o bbt.o
5 obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o
6 obj-$(CONFIG_MTD_RAW_NAND) += raw/
7 obj-$(CONFIG_MTD_SPI_NAND) += spi/
8 else
9 obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += raw/
10 endif