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