Skip to content

Commit

Permalink
modify efr32 build scripts (#18964)
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs authored May 31, 2022
1 parent b78eee1 commit 04ceb50
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,21 @@
# Build script for GN EFT32 examples GitHub workflow.

set -e
source "$(dirname "$0")/../../scripts/activate.sh"

if [[ -z "${MATTER_ROOT}" ]]; then
echo "Using default path for Matter root"
CHIP_ROOT="$(dirname "$0")/../.."
else
echo "Using ENV path for Matter root"
CHIP_ROOT="$MATTER_ROOT"
fi

source "$CHIP_ROOT/scripts/activate.sh"

set -x
env
USE_WIFI=false
CHIP_ROOT="$(dirname "$0")/../.."

USAGE="./scripts/examples/gn_efr32_example.sh <AppRootFolder> <outputFolder> <efr32_board_name> [<Build options>]"

if [ "$#" == "0" ]; then
Expand Down

0 comments on commit 04ceb50

Please sign in to comment.