blob: b15f0f6dcdea51cc4ea456ec3a3fa983a9e6fd6d [file] [log] [blame]
Tom Rini28591df2012-08-13 12:03:19 -07001#
2# (C) Copyright 2012
3# Texas Instruments Incorporated - http://www.ti.com/
4# Aneesh V <aneesh@ti.com>
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Tom Rini28591df2012-08-13 12:03:19 -07007#
8# Based on common/Makefile.
9#
10
Tom Rini28591df2012-08-13 12:03:19 -070011ifdef CONFIG_SPL_BUILD
Masahiro Yamada55c745d2013-10-17 17:34:59 +090012obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
Simon Glassa6131a22016-02-22 22:55:56 -070013obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o
Masahiro Yamada55c745d2013-10-17 17:34:59 +090014obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o
15obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o
Ladislav Michl2a8ea482016-07-12 20:28:13 +020016ifndef CONFIG_SPL_UBI
Masahiro Yamada55c745d2013-10-17 17:34:59 +090017obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o
18obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o
Ladislav Michl2a8ea482016-07-12 20:28:13 +020019endif
20obj-$(CONFIG_SPL_UBI) += spl_ubi.o
Masahiro Yamada55c745d2013-10-17 17:34:59 +090021obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o
22obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
Dan Murphycb367e12014-01-16 11:23:30 -060023obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o
Dan Murphyb7b5b0c2014-01-16 11:23:29 -060024obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o
Guillaume GARDET1eb410c2014-10-15 17:53:12 +020025obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o
Dan Murphy0c3ab852014-02-03 06:59:01 -060026obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o
Tom Rini28591df2012-08-13 12:03:19 -070027endif