For Linux host example:
source scripts/activate.sh ./scripts/build/build_examples.py --target linux-x64-fabric-admin-rpc build
For Raspberry Pi 4 example:
docker pull ghcr.io/project-chip/chip-build-crosscompile:93
docker run -it -v ~/connectedhomeip:/var/connectedhomeip ghcr.io/project-chip/chip-build-crosscompile:93 /bin/bash
cd /var/connectedhomeip git config --global --add safe.directory /var/connectedhomeip ./scripts/run_in_build_env.sh \ "./scripts/build/build_examples.py \ --target linux-arm64-fabric-admin-clang-rpc \ build"
scp ./fabric-admin ubuntu@xxx.xxx.xxx.xxx:/home/ubuntu