On 8月5日, 下午10时39分, basteon <
bast...@gmail.com> wrote:
> use it...
> may be very helpful add this script to android kernel building how-to ;)
> #!/bin/sh
> #######
> #Actually, I getting it by this way...
> #cd android
> #repo init -u git://
android.git.kernel.org/platform/manifest.git
> #repo sync
> #######
> #But, if you want to get only tools, you must try this...
> # git clone git://
android.git.kernel.org/platform/prebuilt.git
>
> #where your android tools
> export CROSSTOOLS=/usr/src/android/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1
> export PATH=$CROSSTOOLS/bin:$PATH
>
> export CROSS_TARGET=arm-eabi
>
> export CC="${CROSS_TARGET}-gcc"
> export CXX="${CROSS_TARGET}-g++"
> export AR="${CROSS_TARGET}-ar"
> export AS="${CROSS_TARGET}-as"
> export LD="${CROSS_TARGET}-ld"
> export RANLIB="${CROSS_TARGET}-ranlib"
> export READELF="${CROSS_TARGET}-readelf"
> export STRIP="${CROSS_TARGET}-strip"
>