blob: 0323afbe9697303c9c089f8e21869ad8ca38529b [file] [log] [blame]
Stephan Herhutf701c472017-12-11 14:42:15 +01001Build from branch android-4.0.4_r2.1
2
3mkdir jellybean
4cd jellybean
5repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.4_r2.1
6repo sync
7source build/envsetup.sh
8lunch full_x86-eng
9m -j24
10m -j24 dalvik
11m -j24 dalvikvm
12
13Collect
14 bin
15 framework/*-hostdex.jar
16 lib
17 usr
18into tools/linux/dalvik-4.0.4
19
20The old dalvikvm script is hardwired to a specific directory. Instead, copy over
21the updated script from a 4.4.4 build.
22
23Note that building AOSP at that versions requires gcc 4.4 and an older version
24of libc. I have build this on Debian weezy with the following extra steps on
25top of the normal Android requirements:
26
27apt-get install gcc-4.4
28apt-get install g++-4.4
29rm /usr/bin/gcc
30rm /usr/bin/g++
31ln -s /usr/bin/gcc-4.4 /usr/bin/gcc
32ln -s /usr/bin/g++-4.4 /usr/bin/g++
33apt-get install g++-4.4-multilib
34dpkg --add-architecture i386
35apt-get install libgl1-mesa-glx:i386
36apt-get install libgl1-mesa-dev:i386
37apt-get install libx11-6:i386
38apt-get install libx11-dev:i386
39