1 # SPDX-License-Identifier: GPL-2.0+ 2 # 3 # Copyright (C) 2005-2007 Samsung Electronics. 4 # Kyungmin Park <kyungmin.park (at] samsung.com> 5 6 ifndef CONFIG_SPL_BUILD 7 obj-$(CONFIG_CMD_ONENAND) := onenand_uboot.o onenand_base.o onenand_bbt.o 8 obj-$(CONFIG_SAMSUNG_ONENAND) += samsung.o 9 else 10 obj-y := onenand_spl.o 11 endif 12