blob: 47a64dd7d0cdaca517e108eaa8cf4b4e82f27341 [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
Vikas Manocha9e582652017-05-28 12:55:11 -070015obj-$(CONFIG_SPL_XIP_SUPPORT) += spl_xip.o
Masahiro Yamada55c745d2013-10-17 17:34:59 +090016obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o
Ladislav Michl2a8ea482016-07-12 20:28:13 +020017ifndef CONFIG_SPL_UBI
Masahiro Yamada55c745d2013-10-17 17:34:59 +090018obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o
19obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o
Ladislav Michl2a8ea482016-07-12 20:28:13 +020020endif
21obj-$(CONFIG_SPL_UBI) += spl_ubi.o
Masahiro Yamada55c745d2013-10-17 17:34:59 +090022obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o
23obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
Kever Yang6e79a912017-05-05 11:47:45 +080024obj-$(CONFIG_SPL_ATF_SUPPORT) += spl_atf.o
Dan Murphycb367e12014-01-16 11:23:30 -060025obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o
Dan Murphyb7b5b0c2014-01-16 11:23:29 -060026obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o
Guillaume GARDET1eb410c2014-10-15 17:53:12 +020027obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o
Dan Murphy0c3ab852014-02-03 06:59:01 -060028obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o
B, Ravid207b7e2016-07-28 17:39:16 +053029obj-$(CONFIG_SPL_DFU_SUPPORT) += spl_dfu.o
Simon Glass172b39f2016-09-24 18:20:08 -060030obj-$(CONFIG_SPL_SPI_LOAD) += spl_spi.o
Stefan Agnercd01e642016-12-23 07:51:53 +010031obj-$(CONFIG_SPL_RAM_SUPPORT) += spl_ram.o
Tom Rini28591df2012-08-13 12:03:19 -070032endif