arm: omap5: fix build dependency for secure devices
[oweals/u-boot.git] / arch / arm / cpu / armv7 / omap5 / config.mk
1 #
2 # Copyright 2011 Linaro Limited
3 #
4 # Aneesh V <annesh@ti.com>
5 #
6 # SPDX-License-Identifier:      GPL-2.0+
7 #
8
9 include  $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
10
11 ifdef CONFIG_SPL_BUILD
12 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
13 ALL-y   += u-boot-spl_HS_MLO u-boot-spl_HS_X-LOADER
14 else
15 ALL-y   += MLO
16 endif
17 else
18 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
19 ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
20 endif
21 ALL-y   += u-boot.img
22 endif