Skip to content

Commit

Permalink
silabs_fix_buildscript (#25898)
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs authored and pull[bot] committed Aug 18, 2023
1 parent 730d231 commit 3243882
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ else

if [ "$USE_SLC" == true ] && [ "$GN_PATH_PROVIDED" == false ]; then
GN_PATH=./.environment/cipd/packages/pigweed/gn
elif [ "$USE_SLC" == false ]; then
# Activation needs to be after SLC generation which is done in gn gen.
# Zap generation requires activation and is done in the build phase
source "$CHIP_ROOT/scripts/activate.sh"
fi

BUILD_DIR=$OUTDIR/$SILABS_BOARD
Expand Down Expand Up @@ -298,9 +302,11 @@ else
fi
fi

# Activation needs to be after SLC generation which is done in gn gen.
# Zap generation requires activation and is done in the build phase
source "$CHIP_ROOT/scripts/activate.sh"
if [ "$USE_SLC" == true ]; then
# Activation needs to be after SLC generation which is done in gn gen.
# Zap generation requires activation and is done in the build phase
source "$CHIP_ROOT/scripts/activate.sh"
fi

ninja -v -C "$BUILD_DIR"/
#print stats
Expand Down

0 comments on commit 3243882

Please sign in to comment.