Tom Rini | 28591df | 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 | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 7 | # |
| 8 | # Based on common/Makefile. |
| 9 | # |
| 10 | |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 11 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 55c745d | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
Simon Glass | a6131a2 | 2016-02-22 22:55:56 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o |
Masahiro Yamada | 55c745d | 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 | 2a8ea48 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 16 | ifndef CONFIG_SPL_UBI |
Masahiro Yamada | 55c745d | 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 | 2a8ea48 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 19 | endif |
| 20 | obj-$(CONFIG_SPL_UBI) += spl_ubi.o |
Masahiro Yamada | 55c745d | 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 | cb367e1 | 2014-01-16 11:23:30 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o |
Dan Murphy | b7b5b0c | 2014-01-16 11:23:29 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o |
Guillaume GARDET | 1eb410c | 2014-10-15 17:53:12 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o |
Dan Murphy | 0c3ab85 | 2014-02-03 06:59:01 -0600 | [diff] [blame] | 26 | obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 27 | endif |