Skip to content

Commit

Permalink
fix for wifi builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Aug 11, 2022
1 parent f128e71 commit 3f7fed2
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions examples/platform/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,20 @@ config("chip_examples_project_config") {
}

source_set("openthread_core_config_efr32_chip_examples") {
sources = [ "project_include/OpenThreadConfig.h" ]
if (chip_enable_openthread) {
sources = [ "project_include/OpenThreadConfig.h" ]

public_deps = [ "${efr32_sdk_build_root}:efr32_sdk" ]
public_deps = [ "${efr32_sdk_build_root}:efr32_sdk" ]

if (chip_use_ot_lib == true) {
public_deps +=
[ "${chip_root}/third_party/silabs:openthread_core_config_efr32" ]
} else {
public_deps += [ "${chip_root}/third_party/openthread/platforms/efr32:openthread_core_config_efr32" ]
}
if (chip_use_ot_lib == true) {
public_deps +=
[ "${chip_root}/third_party/silabs:openthread_core_config_efr32" ]
} else {
public_deps += [ "${chip_root}/third_party/openthread/platforms/efr32:openthread_core_config_efr32" ]
}

public_configs = [ ":chip_examples_project_config" ]
public_configs = [ ":chip_examples_project_config" ]
}
}

source_set("efr-matter-shell") {
Expand Down

0 comments on commit 3f7fed2

Please sign in to comment.