Changes between Version 8 and Version 9 of Android/Building
- Timestamp:
- 02/12/2020 11:06:54 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Android/Building
v8 v9 210 210 g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev \ 211 211 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 213 213 sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so 214 214 sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv … … 221 221 {{{#!bash 222 222 sudo 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 223 sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv repo 224 224 }}} 225 225 … … 232 232 g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev \ 233 233 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 235 235 sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so 236 236 sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv … … 249 249 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev \ 250 250 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 252 252 sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv 253 253 sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so … … 260 260 libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ 261 261 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 263 263 sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv 264 264 sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so … … 304 304 }}} 305 305 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 306 2. Initialize android source repo (this pulls down the manifest of projects that make up the Gateworks Ventana Android BSP): 307 {{{#!bash 308 repo init -u https://github.com/Gateworks/imx_android.git -b gateworks_l5.1.1_2.1.0-ga 315 309 }}} 316 310 * use any of the above branches if you wish to use an older release 317 311 * 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 318 312 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:313 3. (optional) pin the repo versions to the latest version which was known to have been successfully built by the Gateworks nightly build server: 320 314 {{{#!bash 321 315 wget http://dev.gateworks.com/android/lp-5.1.1/snapshot.xml # fetch the pinned manifest from the last successful nightly build … … 324 318 * 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 325 319 326 5. Sync repo - this fetches the repos from the Internet (may take a while to download sources resulting in about 15GB more):320 4. Sync repo - this fetches the repos from the Internet (may take a while to download sources resulting in about 15GB more): 327 321 {{{#!bash 328 322 ./repo sync -c -j8