Skip to content

Commit c6ca5d4

Browse files
Updating instructions for building.
1 parent ca3bee2 commit c6ca5d4

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

docs/developer-guide/get-started/building-howto.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,34 @@ of the resulting image, such as:
2121
Before you can build OS images you need to build the toolchain and make sure to
2222
[**install pre-requisites (Ubuntu)**](/toolkit/docs/building/prerequisites-ubuntu.md).
2323

24-
The toolkit can use prebuilt packages for building the OS images. This is the recommended
25-
approach, as building the *entire toolchain* may take a lot of time. Adding the
26-
`REBUILD_TOOLCHAIN=y` parameter to the `make` command rebuilds the entire toolchain.
24+
> **Note:**
25+
Use stable tag instead of latest for building the OS images with prebuilt packages.
26+
This is the recommended approach, as building the *entire toolchain* may take a lot of
27+
time. Adding the `REBUILD_TOOLCHAIN=y` parameter to the `make` command rebuilds
28+
the entire toolchain.
2729

28-
```bash
29-
# Clone the repository
30-
git clone <Microvisor git repo>
31-
cd <Microvisor repo>
3230

33-
# Checkout stable branch of Microvisor
34-
git checkout <latest stable>
31+
1. Clone the stable branch of the Edge Microvisor Toolkit repository.
3532

36-
# Build the tools
37-
cd ./toolkit
38-
sudo make toolchain REBUILD_TOOLS=y
39-
```
33+
Check the [tags](https://github.com/open-edge-platform/edge-microvisor-toolkit/tags) for
34+
the `<stable_tag_name>`.
35+
36+
```bash
37+
git clone https://github.com/open-edge-platform/edge-microvisor-toolkit --branch=<stable_tag_name>
38+
```
39+
40+
2. Navigate to the `toolkit` subdirectory.
41+
42+
```bash
43+
cd edge-microvisor-toolkit/toolkit
44+
```
45+
46+
3. Build the tools.
47+
48+
```bash
49+
cd ./toolkit
50+
sudo make toolchain REBUILD_TOOLS=y
51+
```
4052

4153
## Building the Default Microvisor Image
4254

0 commit comments

Comments
 (0)