1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-15 18:39:05 +01:00
OpenVoiceOS/documentation/building.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

# Building of MycroftOS from sources.
Flashable images will be provided at mayor, minor and hotfix release tags. However if you want to build the images from source yourself, below instructions will get you on your way.
## Getting the code.
First, get the code on your system! The simplest method is via git.
<br>
- cd ~/
- git clone --recurse-submodules https://github.com/j1nx/MycroftOS.git
- cd MycroftOS
2020-03-26 10:55:08 +01:00
(Optional) If you want to switch to the active development branch.
- git checkout develop
2020-03-26 10:55:08 +01:00
- git submodule update --remote --merge
## Patching Buildroot.
2020-03-26 10:55:08 +01:00
(ONLY at the first clean checkout/clone) If this is the very first time you are going to build an image, you need to execute the following command once;
<br>
- ./scripts/br-patches.sh
<br>
This will patch the Buildroot packages.
## Building the image.
Building the image(s) can be done by utilizing a proper Makefile;
<br>
To see the available commands, just run: 'make help'
<br>
As example to build the rpi3 version;<br>
2020-03-26 10:55:08 +01:00
- make clean
- make rpi3-config
- make rpi3
To build all available buids, run;<br>
2020-03-26 10:55:08 +01:00
- make all