diff --git a/examples/lighting-app/efr32/BUILD.gn b/examples/lighting-app/efr32/BUILD.gn index 3fa7974202d066..15f025807b7693 100644 --- a/examples/lighting-app/efr32/BUILD.gn +++ b/examples/lighting-app/efr32/BUILD.gn @@ -123,7 +123,11 @@ efr32_executable("lighting_app") { ldscript = "${efr32_project_dir}/ldscripts/efr32-light-example-MG21.ld" } - ldflags = [ "-Wl,--print-memory-usage", "-fstack-usage", "-T" + rebase_path(ldscript, root_build_dir) ] + ldflags = [ + "-Wl,--print-memory-usage", + "-fstack-usage", + "-T" + rebase_path(ldscript, root_build_dir), + ] } group("efr32") { diff --git a/examples/lock-app/efr32/BUILD.gn b/examples/lock-app/efr32/BUILD.gn index 7c0171fea84fc9..8df12d93aad91b 100644 --- a/examples/lock-app/efr32/BUILD.gn +++ b/examples/lock-app/efr32/BUILD.gn @@ -123,7 +123,11 @@ efr32_executable("lock_app") { ldscript = "${efr32_project_dir}/ldscripts/efr32-lock-example-MG21.ld" } - ldflags = [ "-Wl,--print-memory-usage", "-fstack-usage", "-T" + rebase_path(ldscript, root_build_dir) ] + ldflags = [ + "-Wl,--print-memory-usage", + "-fstack-usage", + "-T" + rebase_path(ldscript, root_build_dir), + ] } group("efr32") { diff --git a/third_party/efr32_sdk/efr32_arm.gni b/third_party/efr32_sdk/efr32_arm.gni index a907a8c404d29d..38e0a3849e3c40 100644 --- a/third_party/efr32_sdk/efr32_arm.gni +++ b/third_party/efr32_sdk/efr32_arm.gni @@ -14,7 +14,6 @@ import("efr32_board.gni") - if (efr32_family == "efr32mg12") { arm_arch = "armv7e-m" arm_abi = "aapcs"