Skip to content

Cloning source

Martin Valba edited this page Jun 28, 2020 · 4 revisions

Cloning source

  • Everything here will lead to the same build that i have (Based on aosip)
  • Linux environment that i use is ubuntu 20.04
  • Also this guide wont instruct you how to add device tree stuff (For now)

1. Installing dependencies and Repo

sudo apt install repo bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev 

2. Initializing Repo

# Create a directory for the source files
# This can be located anywhere (as long as the fs is case-sensitive)
mkdir Demo (name the dir whatever you want)
cd Demo

# Installing Repo in the created directory
repo init -u git://github.com/AOSiP/platform_manifest.git -b ten

3. Syncing Source

repo sync --force-sync --no-tags --no-clone-bundle

Next