1#------------------------------------------------------------------------------- 2# Copyright (c) 2021-2022, Arm Limited. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6#------------------------------------------------------------------------------- 7 8add_library(bl1_1_lib INTERFACE) 9 10target_sources(bl1_1_lib 11 INTERFACE 12 $<$<BOOL:${TFM_BL1_DEFAULT_PROVISIONING}>:${CMAKE_CURRENT_SOURCE_DIR}/provisioning.c> 13 $<$<BOOL:${TFM_BL1_2_IN_OTP}>:${CMAKE_CURRENT_SOURCE_DIR}/image_otp.c> 14 $<$<NOT:$<BOOL:${TFM_BL1_2_IN_OTP}>>:${CMAKE_CURRENT_SOURCE_DIR}/image_flash.c> 15) 16 17target_include_directories(bl1_1_lib 18 INTERFACE 19 interface 20) 21 22target_link_libraries(bl1_1_lib 23 INTERFACE 24 bl1_1_shared_lib 25 platform_bl1 26) 27