From 6b0874ca261369482562879144212cb79abc7cdf Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Thu, 22 Aug 2024 13:32:05 -0700 Subject: [PATCH] [Fabric-Sync] Symplify the build instructions with build_examples.py --- examples/fabric-admin/README.md | 3 ++- examples/fabric-bridge-app/linux/README.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/fabric-admin/README.md b/examples/fabric-admin/README.md index 7178ab2c2f8c94..c6b4ba7eb3577f 100644 --- a/examples/fabric-admin/README.md +++ b/examples/fabric-admin/README.md @@ -14,7 +14,8 @@ fabrics. For Linux host example: ``` -./scripts/examples/gn_build_example.sh examples/fabric-admin out/debug/standalone 'import("//with_pw_rpc.gni")' +source scripts/activate.sh +./scripts/build/build_examples.py --target linux-x64-fabric-admin-rpc build ``` For Raspberry Pi 4 example: diff --git a/examples/fabric-bridge-app/linux/README.md b/examples/fabric-bridge-app/linux/README.md index 6d830cdd987c33..96e8a2924a65bc 100644 --- a/examples/fabric-bridge-app/linux/README.md +++ b/examples/fabric-bridge-app/linux/README.md @@ -91,7 +91,8 @@ defined: ### For Linux host example: ``` - ./scripts/examples/gn_build_example.sh examples/fabric-bridge-app/linux out/debug/standalone chip_config_network_layer_ble=false 'import("//with_pw_rpc.gni")' + source scripts/activate.sh + ./scripts/build/build_examples.py --target linux-x64-fabric-bridge-rpc build ``` ### For Raspberry Pi 4 example: