Skip to content

Latest commit

 

History

History

device-side

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

HybridOS Device Side

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.

Building

We recommend that you use a latest Linux distribution with long term support, for example, Ubuntu Linux 18.04 LTS.

Note that:

  1. You need to reserve at least 30GB of disk space for downloading the source code and building the entire system.
  2. 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:

  1. Clone this repository to your local system:
$ cd </path/to/your/working/directory/>
$ git clone https://github.com/FMSoftCN/hybridos.git
  1. Install dependencies
$ cd hybridos/device-side/
$ build/hbd/install-dependencies
  1. Build the system
$ build/Scripts/build
  1. Build hiview renderer
$ git clone https://github.com/FMSoftCN/hiviewrenderer.git
$ cd watchface
$ make && sudo make install
$ cd ..

$ cd stopwatch
$ make && sudo make install
  1. Run the executables
# Run mginit
$ build/Scripts/run-mginit

Copying

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.