blob: 83c6dc079cec3d768b117361d0b5fc057fcef263 [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2021-2022, Arm Limited. All rights reserved.
# Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company)
# or an affiliate of Cypress Semiconductor Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
if(NOT BL1)
return()
endif()
# Reload the compiler options for the secure core, if the NS core differs
if (EXISTS ${TARGET_PLATFORM_PATH}/preload_ns.cmake)
include(${TARGET_PLATFORM_PATH}/preload.cmake)
tfm_toolchain_reload_compiler()
endif()
add_subdirectory(bl1_1)
add_subdirectory(bl1_2)