Skip to content

OpenXT/openxt-manifest

Repository files navigation

openxt-manifest

OpenXT repo tool manifest

Quick Start

You will need to have repo tool installed in your build environment. Follow the directions from AOSP to install it.

❗ See Development Environment1 on how to setup development workspace.

Setup Repo Environment

Using repo you will now stage your development workspace. See Directory layout for details.

   mkdir openxt-workspace
   cd openxt-workspace
   repo init -u https://github.com/OpenXT/openxt-manifest.git
   repo sync

Install Haskell Compiler

Install GHC8 for building OpenXT Haskell componnents.

wget https://downloads.haskell.org/ghc/8.10.7/ghc-8.10.7-x86_64-deb10-linux.tar.xz

tar -xf ghc-8.10.7-x86_64-deb10-linux.tar.xz
rm ghc-8.10.7-x86_64-deb10-linux.tar.xz

pushd ghc-8.10.7
./configure --prefix=/usr/local
make install
popd && rm -rf ghc-8.10.7

Setup build workspace

Set up a build instance named quickstart that will be located in the directory build-quickstart. After following these steps your shell will be in the build directory with all the necessary environment variables configured to start building and developing OpenXT component and VM images.

openxt/bordel/bordel -i quickstart config --no-repo-branch
source build-quickstart/build-env

Footnotes

  1. Development Environment Documentation