File tree 1 file changed +6
-0
lines changed
config/nrfconnect/chip-module
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ include(generate_factory_data.cmake)
41
41
if (NOT CHIP_ROOT)
42
42
get_filename_component (CHIP_ROOT ${CMAKE_CURRENT_SOURCE_DIR} /../../.. REALPATH)
43
43
endif ()
44
+
45
+ if (NOT CHIP_APP_ZAP_DIR)
46
+ get_filename_component (CHIP_APP_ZAP_DIR ${CHIP_ROOT} /zzz_generated/app-common REALPATH)
47
+ endif ()
48
+
44
49
get_filename_component (GN_ROOT_TARGET ${CHIP_ROOT} /config/nrfconnect/chip-gn REALPATH)
45
50
get_filename_component (COMMON_CMAKE_SOURCE_DIR ${CHIP_ROOT} /config/common/cmake REALPATH)
46
51
@@ -132,6 +137,7 @@ matter_common_gn_args(
132
137
matter_add_gn_arg_string("zephyr_ar" ${CMAKE_AR} )
133
138
matter_add_gn_arg_string("zephyr_cc" ${CMAKE_C_COMPILER} )
134
139
matter_add_gn_arg_string("zephyr_cxx" ${CMAKE_CXX_COMPILER} )
140
+ matter_add_gn_arg_string("chip_app_zap_dir" ${CHIP_APP_ZAP_DIR} )
135
141
matter_add_gn_arg_bool ("chip_logging" CONFIG_LOG)
136
142
matter_add_gn_arg_bool ("chip_enable_openthread" CONFIG_NET_L2_OPENTHREAD)
137
143
matter_add_gn_arg_bool ("chip_openthread_ftd" CONFIG_OPENTHREAD_FTD)
You can’t perform that action at this time.
0 commit comments