mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
38d592fc33
Commit 17c2987
introduces an undesired dependency on CONFIG_SPL_LOAD_FIT
when building U-Boot for AM57xx and DRA7xx high-security (HS) devices that
causes the build to break when that option is not active. Fix this issue
by only building the u-boot_HS.img target when building U-Boot into an
actual FIT image.
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
22 lines
414 B
Makefile
22 lines
414 B
Makefile
#
|
|
# Copyright 2011 Linaro Limited
|
|
#
|
|
# Aneesh V <annesh@ti.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
|
|
ALL-y += u-boot-spl_HS_MLO u-boot-spl_HS_X-LOADER
|
|
else
|
|
ALL-y += MLO
|
|
endif
|
|
else
|
|
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
|
|
ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
|
|
endif
|
|
ALL-y += u-boot.img
|
|
endif
|