How to build Android adb on ARM
Thanks to Google I’ve just found searching in many Forum threads the way to build adb on ARM arch.
Just download sources with git (apt-get install git-core on debian-like system):
$ git clone git://android.git.kernel.org/platform/system/core.git system/core
$ git clone git://android.git.kernel.org/platform/build.git build
$ git clone git://android.git.kernel.org/platform/external/zlib.git external/zlib
$ git clone git://android.git.kernel.org/platform/bionic.git bionic
Now edit build/core/main.mk and comment out the parts labelled
# Check for the correct version of javaand
# Check for the correct version of javacSince adb doesn’t need Java, these checks are unnecessary.
Also edit build/target/product/sdk.mk and comment out the “include” lines after
# include available languages for TTS in the system imageThis avoids having to download language files that aren’t needed for adb.
Save this Makefile as system/core/adb/Makefile : https://gist.github.com/958335
Then just run:
cd system/core/adb; make
Then you can copy and use your adb binary.
That’s all! If you have any problems search your distro’s packages repository to install needed packages!
:-)
URL:
http://lackingrhoticity.blogspot.com/2010/02/how-to-build-adb-android-debugger.html
http://stackoverflow.com/questions/5904765/build-android-adb-for-arm-processor