Kevin Peng | af60229 | 2020-10-20 17:49:52 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Raef Coles | b8f0c31 | 2021-05-26 14:17:37 +0100 | [diff] [blame] | 2 | # Copyright (c) 2020-2022, Arm Limited. All rights reserved. |
Kevin Peng | af60229 | 2020-10-20 17:49:52 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
Kevin Peng | af60229 | 2020-10-20 17:49:52 +0800 | [diff] [blame] | 8 | ############################# Ns Log ########################################### |
Anton Komlev | 94758d4 | 2023-06-15 16:39:36 +0100 | [diff] [blame] | 9 | add_library(tfm_log STATIC) |
Kevin Peng | af60229 | 2020-10-20 17:49:52 +0800 | [diff] [blame] | 10 | |
Raef Coles | b8f0c31 | 2021-05-26 14:17:37 +0100 | [diff] [blame] | 11 | target_sources(tfm_log |
Anton Komlev | 94758d4 | 2023-06-15 16:39:36 +0100 | [diff] [blame] | 12 | PRIVATE |
Kevin Peng | af60229 | 2020-10-20 17:49:52 +0800 | [diff] [blame] | 13 | tfm_log_raw.c |
| 14 | ) |
| 15 | |
Anton Komlev | 84283b0 | 2023-08-16 10:57:56 +0100 | [diff] [blame^] | 16 | target_include_directories(tfm_log |
| 17 | PUBLIC |
| 18 | ${CMAKE_CURRENT_SOURCE_DIR} |
Kevin Peng | af60229 | 2020-10-20 17:49:52 +0800 | [diff] [blame] | 19 | ) |
| 20 | |
Raef Coles | b8f0c31 | 2021-05-26 14:17:37 +0100 | [diff] [blame] | 21 | target_link_libraries(tfm_log |
Kevin Peng | f4b1910 | 2023-07-14 15:16:14 +0800 | [diff] [blame] | 22 | INTERFACE |
Raef Coles | b8f0c31 | 2021-05-26 14:17:37 +0100 | [diff] [blame] | 23 | platform_common_interface |
Anton Komlev | 94758d4 | 2023-06-15 16:39:36 +0100 | [diff] [blame] | 24 | PUBLIC |
| 25 | platform_ns |
Kevin Peng | af60229 | 2020-10-20 17:49:52 +0800 | [diff] [blame] | 26 | ) |