diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 07ed8012112588..ba7927b2deb9a4 100644 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -170,9 +170,10 @@ def NrfTargets(): rpc = target.Extend('light-rpc', app=NrfApp.LIGHT, enable_rpcs=True) - if '-nrf5340-' in rpc.name: - rpc = rpc.GlobBlacklist('Compile failure due to pw_build args not forwarded to proto compiler. https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/66760') - + if '-nrf5340-' in rpc.name: + rpc = rpc.GlobBlacklist( + 'Compile failure due to pw_build args not forwarded to proto compiler. https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/66760') + yield rpc