blob: 1933cbdfed0c37e9e192f71a1436f5f14cf81d77 [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
B, Ravid207b7e2016-07-28 17:39:16 +053027obj-$(CONFIG_SPL_DFU_SUPPORT) += spl_dfu.o
Simon Glass172b39f2016-09-24 18:20:08 -060028obj-$(CONFIG_SPL_SPI_LOAD) += spl_spi.o
Stefan Agnercd01e642016-12-23 07:51:53 +010029obj-$(CONFIG_SPL_RAM_SUPPORT) += spl_ram.o
Tom Rini28591df2012-08-13 12:03:19 -070030endif