Changes between Version 8 and Version 9 of Android/Building


Ignore:
Timestamp:
02/12/2020 11:06:54 PM (5 years ago)
Author:
Bobby Jones
Comment:

replace manual installation of repo tool with ubuntu repo package prerequisite

Legend:

Unmodified
Added
Removed
Modified
  • Android/Building

    v8 v9  
    210210  g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev \
    211211  lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev \
    212   lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
     212  lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev repo
    213213sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
    214214sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv
     
    221221{{{#!bash
    222222sudo apt-get install git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng
    223 sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv
     223sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv repo
    224224}}}
    225225
     
    232232  g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev \
    233233  lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev \
    234   lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
     234  lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev repo
    235235sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
    236236sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv
     
    249249  libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev \
    250250  libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev \
    251   python gcc g++ cpp gcc-4.8 g++-4.8
     251  python gcc g++ cpp gcc-4.8 g++-4.8 repo
    252252sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv
    253253sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
     
    260260  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
    261261  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
    262   python-markdown libxml2-utils xsltproc zlib1g-dev:i386
     262  python-markdown libxml2-utils xsltproc zlib1g-dev:i386 repo
    263263sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv
    264264sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
     
    304304}}}
    305305
    306 2. Get {{{repo}}} tool. This tool uses xml manifests to pull down multiple repos:
    307 {{{#!bash
    308 curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ./repo
    309 chmod a+x ./repo
    310 }}}
    311 
    312 3. Initialize android source repo (this pulls down the manifest of projects that make up the Gateworks Ventana Android BSP):
    313 {{{#!bash
    314 ./repo init -u https://github.com/Gateworks/imx_android.git -b gateworks_l5.1.1_2.1.0-ga
     3062. Initialize android source repo (this pulls down the manifest of projects that make up the Gateworks Ventana Android BSP):
     307{{{#!bash
     308repo init -u https://github.com/Gateworks/imx_android.git -b gateworks_l5.1.1_2.1.0-ga
    315309}}}
    316310 * use any of the above branches if you wish to use an older release
    317311 * repeat this with a different branch name any time you wish to change to a new branch without pulling down all the repo's again in their entirety
    318312
    319 4. (optional) pin the repo versions to the latest version which was known to have been successfully built by the Gateworks nightly build server:
     3133. (optional) pin the repo versions to the latest version which was known to have been successfully built by the Gateworks nightly build server:
    320314{{{#!bash
    321315wget http://dev.gateworks.com/android/lp-5.1.1/snapshot.xml # fetch the pinned manifest from the last successful nightly build
     
    324318 * the repo init command will fetch a repo 'manifest' which refers to various source repositories and branches but will fetch the latest changes from those branches. The Gateworks nightly build server posts the manifest pinned to the specific revision used in the build on completion of a successful build. You can also use a snapshot from a previously released pre-built binary by using the other snapshot files in ​http://dev.gateworks.com/android
    325319
    326 5. Sync repo - this fetches the repos from the Internet (may take a while to download sources resulting in about 15GB more):
     3204. Sync repo - this fetches the repos from the Internet (may take a while to download sources resulting in about 15GB more):
    327321{{{#!bash
    328322./repo sync -c -j8