This directory contains the building scripts and the samples for device side of HybridOS.
`
|-- build/ # The building scripts.
|-- samples/ # The source for HybridOS device-side samples.
We recommend that you use a latest Linux distribution with long term support, for example, Ubuntu Linux 18.04 LTS.
Note that:
- You need to reserve at least 30GB of disk space for downloading the source code and building the entire system.
- Depending on your network connection speed (especially the speed of accessing GitHub) and the hardware configuration of your computer, it may take 2 hours or more to download the source code and build the system. Please be patient.
Building steps:
- Clone this repository to your local system:
$ cd </path/to/your/working/directory/>
$ git clone https://github.com/FMSoftCN/hybridos.git
- Install dependencies
$ cd hybridos/device-side/
$ build/hbd/install-dependencies
- Build the system
$ build/Scripts/build
- Build hiview renderer
$ git clone https://github.com/FMSoftCN/hiviewrenderer.git
$ cd watchface
$ make && sudo make install
$ cd ..
$ cd stopwatch
$ make && sudo make install
- Run the executables
# Run mginit
$ build/Scripts/run-mginit
Copyright (C) 2018 ~ 2020 Beijing FMSoft Technologies Co., Ltd.
- For device side and client side, HybridOS uses GPLv3 or LGPLv3.
- For server side, HybridOS uses AGPLv3.
- For documents, GPLv3 applies.
Note that HybridOS integrates many mature open source software, such as SQLite, FreeType, V8 JavaScript engine, and so on. For the copyright owners and licenses for these software, please refer to the README or LICENSE files contained in the source trees.