Documentation: Moved building instructions from README into a dedicated documentation file.

This commit is contained in:
Peter Steenbergen 2019-01-29 14:06:36 +01:00
parent 546b2f2829
commit 174bea5926
2 changed files with 27 additions and 16 deletions

View File

@ -27,22 +27,8 @@ More information about the Mycroft A.I. software stack at https://mycroft.ai
At this moment development is in very early stages and focussed on the Raspberry Pi 3B. As soon as an initial first workable version
is created, other hardware might be added.
### 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
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
### Building the code.
Then we can build the image(s) by running the following command;
- ./scripts/build.sh
(At this moment only one image get's build. Namely the one for RPi3B. Later on in time this section will get expanded with other hardware such as, the other Raspberry Pi's, perhaps Mark-1 and/or Mark-2 and further down the road for the new Rockchip RK3399Pro SoC with RK1808 NPU
... More building instructions will follow soon ...
## Documentation.
More information and instructions can be found within the "documentation" folder.
## Credits
Mycroft AI (@MycroftAI)<br>

25
documentation/building.md Normal file
View File

@ -0,0 +1,25 @@
# 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
## Patching Buildroot.
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.
We can build the image(s) by running the following command;
<br>
- ./scripts/build.sh
<br>
At this moment only one image get's build. Namely the one for RPi3. Later on in time this section will get expanded with other possible supported hardware.