From e045cfb0ca0187a3d2e8806ffd7191af6984c4c7 Mon Sep 17 00:00:00 2001 From: Milind Dumbare Date: Wed, 19 Apr 2023 11:09:19 +0000 Subject: [PATCH] Pull request #703: Fix UMB readme_building.md Merge in WMN_TOOLS/matter from fix_umb_release to silabs Squashed commit of the following: commit e9dfcff80caddd2b90cc0a310207b36605835880 Author: Milind Dumbare Date: Wed Apr 19 10:50:52 2023 +0200 Fix UMB readme_building.md --- .../unify-matter-bridge/readme_building.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/silabs_examples/unify-matter-bridge/readme_building.md b/silabs_examples/unify-matter-bridge/readme_building.md index a46c0314c11212..1fbd6c6e15ac66 100644 --- a/silabs_examples/unify-matter-bridge/readme_building.md +++ b/silabs_examples/unify-matter-bridge/readme_building.md @@ -10,16 +10,14 @@ This build guide cross-compiles for arm64 architecture to be run on Unify's refe > - _some-other-command_ should be executed inside the Docker container. > - _`root@docker:/$ some-other-command`_ -## Set Up the Matter Build Environment - -Once you have all the necessary submodules, source the Matter environment with the following command. This loads a number of build tools and makes sure the correct toolchains and compilers are used for compiling the Unify Matter Bridge. - ## Check Out Submodules +> 🔴 Assuming you have cloned the matter repo in `~/matter` + Check out the necessary submodules with the following command. ```bash -dev-machine:~$ ./scripts/checkout_submodules.py --platform linux +dev-machine:~/matter$ ./scripts/checkout_submodules.py --platform linux ``` ## Clone and Stage the Unify SDK Repository @@ -33,7 +31,7 @@ dev-machine:~/matter$ git clone --depth 1 https://github.com/SiliconLabs/UnifySD ## Build the Docker Container (arm64 compilation) ```bash -dev-machine:~$ docker build -t unify-matter silabs_examples/unify-matter-bridge/docker/ +dev-machine:~/matter$ docker build -t unify-matter silabs_examples/unify-matter-bridge/docker/ ``` ## Run the docker container (arm64 compilation) @@ -81,6 +79,8 @@ root@docker:/uic$ export UCL_XML_PATH=$PWD/stage/share/uic/ucl ## Run activate in matter +Once you have all the necessary submodules, source the Matter environment with the following command. This loads a number of build tools and makes sure the correct toolchains and compilers are used for compiling the Unify Matter Bridge. + Make sure you are in `matter/` directory ```bash