$ sudo aptitude install atftpd $ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev $ sudo apt-get install valgrind $ sudo apt-get install lib32readline5-dev $ mkdir bin $ chmod a+x ~/bin/repo $ curl http://android.git.kernel.org/repo > ~/bin/repo $ chmod a+x ~/bin/repo $ mkdir mydroid $ cd mydroid $ ~/bin/repo init -u git://android.git.kernel.org/platform/manifest.git $ ~/bin/repo sync $ make ============================================ PLATFORM_VERSION_CODENAME=AOSP PLATFORM_VERSION=AOSP TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID=OPENMASTER ============================================ host SharedLib: libneo_util (out/host/linux-x86/obj/lib/libneo_util.so) /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4