OpenVoiceOS/documentation/building.md

1.1 KiB

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.

  • cd ~/
  • git clone --recurse-submodules https://github.com/j1nx/MycroftOS.git
  • cd MycroftOS
    (Optional) If you want to switch to the active development branch.
  • git checkout develop
  • git submodule update --remote --merge

Patching Buildroot.

(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;

  • ./scripts/br-patches.sh
    This will patch the Buildroot packages.

Building the image.

Building the image(s) can be done by utilizing a proper Makefile;
To see the available commands, just run: 'make help'
As example to build the rpi3 version;

  • make clean
  • make rpi3-config
  • make rpi3

To build all available buids, run;

  • make all