Compiling Gummy
All work here is done from Ubuntu 10.04.. Newer releases may require slightly different packages.
Installing dependencies:
Setting up and syncing Gummy’s Repo
Preparing to Gummy and compiling
All work here is done from Ubuntu 10.04.. Newer releases may require slightly different packages.
Installing dependencies:
- Install Ubuntu 10.04 and install all updates
- Install Java SDK (type or copy the commands into the terminal exactly as you see them here )
-
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner”
-
Code:
sudo apt-get update
-
Code:
sudo apt-get install sun-java6-jdk
-
- Install Git
-
Code:
sudo apt-get install git-core
-
- Install the rest of the needed files
-
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils pngcrush
-
Setting up and syncing Gummy’s Repo
- Enter the commands in the terminal exactly as they are displayed to setup your PATH
-
Code:
mkdir ~/bin
-
Code:
PATH=~/bin:$PATH
-
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
-
Code:
chmod a+x ~/bin/repo
-
- Create your Gummy source directory and then go to that directory
-
Code:
mkdir ~/Gummy
-
Code:
cd ~/Gummy
-
- Initialize and sync the Gummy repo (where X is put the number of cores for your CPU such as “repo sync -j4” for a quad core)
-
Code:
repo init -u[URL="https://github.com/teamgummy/platform_manifest.git"][COLOR=#000000] https://github.com/teamgummy/platform_manifest.git[/COLOR][/URL] -b master
-
Code:
repo sync -jX
-
- Take a break and enjoy an ice cold beer
- Go to the fridge
- Pull out your favorite brand of beer
- Open with care
- Drink with pleasure
- Otherwise its going to take a while ( a long while )
Preparing to Gummy and compiling
- Get prebuilts (Term)
-
Code:
cd ~/Gummy/vendor/Gummy
-
Code:
./get-prebuilts
-
Code:
cd ~/Gummy
-
- Compile (dont forget the . and also make sure you again change the X to the number of cores you have)
-
Code:
. build/envsetup.sh && lunch Gummy_toro-userdebug && make gummy -jX
-
Last edited: