Skip to content

Commit 4492121

Browse files
ZhaoxiangJinmmahadevan108
authored andcommitted
sdk_ng: The TFM building should not include hal_nxp conn_fwloader
Signed-off-by: Zhaoxiang Jin <[email protected]>
1 parent 44a399c commit 4492121

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

mcux/mcux-sdk-ng/components/conn_fwloader/CMakeLists.txt

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
# Copyright 2024 NXP
22
# SPDX-License-Identifier: BSD-3-Clause
33

4-
if (CONFIG_MCUX_COMPONENT_driver.conn_fwloader)
5-
mcux_add_source(
6-
SOURCES include/api_tree_root.h
7-
include/fsl_loader.h
8-
include/fsl_loader_utils.h
9-
include/fusemap.h
10-
include/life_cycle.h
11-
include/nboot_rom_api_table.h
12-
fsl_loader.c
13-
fsl_loader_utils.c
14-
nboot_hal.c
15-
life_cycle.c
16-
readme.txt
17-
script/fw_bin2c_conv.py
18-
)
19-
mcux_add_include(
20-
INCLUDES include
21-
)
4+
if(NOT CONFIG_BUILD_WITH_TFM)
5+
if (CONFIG_MCUX_COMPONENT_driver.conn_fwloader)
6+
mcux_add_source(
7+
SOURCES fsl_loader.c
8+
fsl_loader_utils.c
9+
nboot_hal.c
10+
life_cycle.c
11+
)
12+
mcux_add_include(
13+
INCLUDES include
14+
)
15+
endif()
2216
endif()
2317

2418
if(CONFIG_BUILD_WITH_TFM)

0 commit comments

Comments
 (0)