Supported build host:
Ubuntu Xenial 16.04 x64Ubuntu Bionic 18.04 x64Docker
- Install essential packages
$ sudo apt-get install git make lsb-release qemu-user-static
- Clone Fenix repository
$ mkdir -p ~/project/khadas
$ cd ~/project/khadas
$ git clone https://github.com/khadas/fenix
$ cd fenix
- Setup build environment
$ source env/setenv.sh
- Build image
$ make
- Build Docker image
$ cd fenix
$ docker build -t fenix .
- Build image in Docker
Run fenix in docker.
$ docker run -it -v $(pwd):/home/khadas/fenix -v /etc/localtime:/etc/localtime:ro --privileged fenix
We are in Docker container now, start to build.
khadas@919cab43f66d:~/fenix$ source env/setenv.sh
khadas@919cab43f66d:~/fenix$ make