Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2012 |
| 3 | # Texas Instruments Incorporated - http://www.ti.com/ |
| 4 | # Aneesh V <aneesh@ti.com> |
| 5 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 7 | # |
| 8 | # Based on common/Makefile. |
| 9 | # |
| 10 | |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 11 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
Simon Glass | f1dcee5 | 2016-02-22 22:55:56 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 14 | obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o |
| 15 | obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o |
Ladislav Michl | bf55cd4 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 16 | ifndef CONFIG_SPL_UBI |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 17 | obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o |
| 18 | obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o |
Ladislav Michl | bf55cd4 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 19 | endif |
| 20 | obj-$(CONFIG_SPL_UBI) += spl_ubi.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 21 | obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o |
| 22 | obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o |
Dan Murphy | 8cffe5b | 2014-01-16 11:23:30 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o |
Dan Murphy | 773b594 | 2014-01-16 11:23:29 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o |
Guillaume GARDET | 592f922 | 2014-10-15 17:53:12 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o |
Dan Murphy | fff40a7 | 2014-02-03 06:59:01 -0600 | [diff] [blame] | 26 | obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o |
B, Ravi | 52f2acc | 2016-07-28 17:39:16 +0530 | [diff] [blame] | 27 | obj-$(CONFIG_SPL_DFU_SUPPORT) += spl_dfu.o |
Simon Glass | 0a9b73a | 2016-09-24 18:20:08 -0600 | [diff] [blame] | 28 | obj-$(CONFIG_SPL_SPI_LOAD) += spl_spi.o |
Stefan Agner | 22802f4 | 2016-12-23 07:51:53 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_SPL_RAM_SUPPORT) += spl_ram.o |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 30 | endif |