First, go to:
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-sams...
...and go through the instructions to try the prebuilt instructions.
Now build the same build.
Download linaro_android_build_cmds.sh from the "Downloads" section
wget http://snapshots.linaro.org/android/~linaro-android/origen-jb-gcc47-samsungl... chmod +x linaro_android_build_cmds.sh
Get the pinned-manifest.xml:
wget http://snapshots.linaro.org/android/~linaro-android/origen-jb-gcc47-samsungl...
Get the current vendor tarball:
Paste this link in a browser: http://snapshots.linaro.org/android/binaries/origen/20120517/vendor.tar.bz2
...and save the file.
Run
./linaro_android_build_cmds.sh -m /full/path/to/pinned-manifest.xml -o /full/path/to/vendor.tar.bz2
To rebuild things, you can look in the script to see how things got built. In it you'll see that you can basically:
export TARGET_PRODUCT=origen export TARGET_SIMULATOR=false export CPUS=`grep -c processor /proc/cpuinfo` export TARGET_TOOLS_PREFIX=android-toolchain-eabi/bin/arm-linux-androideabi- . build/envsetup.sh make -j${CPUS} boottarball systemtarball userdatatarball
Please reply on this maillist if you run into problems.