PDA

View Full Version : Building Cupcake Source


clockworx
20th November 2009, 10:42 PM
Do any of the developers here have any experience building Cupcake from source using the directions here:

http://source.android.com/download

I started off on Ubuntu 9.10, but the more recent GCC's seem to have issues with stuff they've omitted, so I went back to 9.04 and then to 8.04. The "eclair" branch compiled fine for me, but I'm not exactly sure which cupcake branch to pull down.

-Cupcake gave me compile errors on 9.X and I'm about to try it on 8.04
-I just tried android-1.5 on 8.04 but it couldn't download a particular package when syncing, so that's kind of a dead end.
-I'm about to try cupcake-release again on 8.04 and see how it goes.

So...anyone compiled cupcake from source lately, and care to share their config? I think its mostly an issue of me not knowing which branch to pull down since I can't seem to find any clear indication of what the technical importance is of each branch.

I want to build from source to possibly tweak something in the 1.5 base that is used for Hero (if that is relevant).

mssmison
20th November 2009, 10:55 PM
I use Debian, the just pull the cupcake branch -b cupcake
it's worked for me everytime :) Though I have had troubles with more than one branch at at time for some reason.

clockworx
20th November 2009, 10:59 PM
I've made 2 seperate directories for the branches, and as far as I can tell the config is completely local to the directory, tied to the .repo dir in there.

I'm pulling down cupcake-release now and will give it a shot...via googling I found that apparently that is the one that is meant to be used "for devices". It's nice that they document getting the source so well, but I'm surprised that I can't seem to find anything on the branches. (which ones are stable, development, locked,etc.) Or maybe I justy don't know where to look....