Changes between Version 9 and Version 10 of Android/Building


Ignore:
Timestamp:
02/10/2021 10:53:42 PM (3 years ago)
Author:
Tim Harvey
Comment:

update git-repo installation procedure to not rely on outdated ubuntu packages

Legend:

Unmodified
Added
Removed
Modified
  • Android/Building

    v9 v10  
    128128 * JDK 6 (for Gingerbread through !KitKat)
    129129 * Git 1.7 or newer
    130 
    131 Gateworks uses Ubuntu 18.04/16.02/14.04/13.10 64bit build hosts although other configurations may work.
     130 * latest version of Google [https://gerrit.googlesource.com/git-repo/git-repo git-repo] tool
     131
     132
     133Gateworks uses Ubuntu 18.04/16.02 64bit build hosts although other configurations may work.
    132134
    133135A virtual machine is possible to use and Gateworks has verified that our latest BSP builds with the popular [http://nathanpfry.com/builduntu-virtual-machine-android-rom-compiling/ BuilduntuVM] based on Xubuntu with the following changes (based on BuildubuntuVM v1.5):
     
    202204=== Packages ===
    203205
     206Install the latest version of {{{repo}}} (Do not rely on Ubuntu apt package being up to date):
     207{{{#!bash
     208sudo wget https://storage.googleapis.com/git-repo-downloads/repo -O /usr/local/bin/repo
     209sudo chmod a+rx /usr/local/bin/repo
     210}}}
     211
    204212Ubuntu 18.04:
    205213{{{#!bash
     
    210218  g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev \
    211219  lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev \
    212   lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev repo
     220  lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
    213221sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
    214222sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv