Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | |
Miquel Raynal | fb43844 | 2019-10-25 19:39:31 +0200 | [diff] [blame] | 3 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
Boris Brezillon | b95db8d | 2018-08-16 17:30:09 +0200 | [diff] [blame] | 4 | nandcore-objs := core.o bbt.o |
| 5 | obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o |
Miquel Raynal | fb43844 | 2019-10-25 19:39:31 +0200 | [diff] [blame] | 6 | obj-$(CONFIG_MTD_RAW_NAND) += raw/ |
Peter Pan | 0a6d6ba | 2018-08-16 17:30:12 +0200 | [diff] [blame] | 7 | obj-$(CONFIG_MTD_SPI_NAND) += spi/ |
Miquel Raynal | fb43844 | 2019-10-25 19:39:31 +0200 | [diff] [blame] | 8 | else |
| 9 | obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += raw/ |
| 10 | endif |