Skip to content

Commit

Permalink
fix non-generated build
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed Mar 16, 2023
1 parent 39970ed commit 75c0faa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,14 @@ template("efr32_sdk") {
]
}

if (!use_slc_files && !generate_slc) {
if (silabs_board == "BRD4186A" || silabs_board == "BRD4186C" ||
silabs_board == "BRD4187A" || silabs_board == "BRD4187C" ||
silabs_board == "BRD2704A") {
sources += [ "${efr32_sdk_root}/platform/service/device_init/src/sl_device_init_dpll_s2.c" ]
}
}

if (silabs_board == "BRD2704A" || silabs_board == "BRD4318A") {
sources += [
"${efr32_sdk_root}/platform/radio/rail_lib/plugin/fem_util/sl_fem_util.c",
Expand All @@ -938,10 +946,6 @@ template("efr32_sdk") {
sources += invoker.sources
}

if (defined(invoker.public_deps)) {
public_deps += invoker.public_deps
}

public_configs = [ ":${sdk_target_name}_config" ]
}
}

0 comments on commit 75c0faa

Please sign in to comment.