xref: /openbmc/u-boot/drivers/mtd/onenand/Makefile (revision ad3098f7)
1#
2# Copyright (C) 2005-2007 Samsung Electronics.
3# Kyungmin Park <kyungmin.park@samsung.com>
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8ifndef	CONFIG_SPL_BUILD
9obj-$(CONFIG_CMD_ONENAND)	:= onenand_uboot.o onenand_base.o onenand_bbt.o
10obj-$(CONFIG_SAMSUNG_ONENAND)	+= samsung.o
11else
12obj-y				:= onenand_spl.o
13endif
14