android-sdk-tools
android-sdk-tools copied to clipboard
请问一下,如果我想指定交叉编译工具链怎么如何操作
目标:交叉编译android adb,放到海思芯片嵌入式板子上面执行
android源码已经下载好
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo
repo init --partial-clone -b android-latest-release -u https://android.googlesource.com/platform/manifest
repo sync -c -j8
packages/modules/adb 目录下面新版的asop已经没有Android.mk,只有Android.bp
我的交叉编译工具链路径为:/opt/hisi-linux/x86-arm/aarch64-mix410-linux/bin/aarch64-mix410-linux-gcc
可以参考这个仓库进行自定义工具链设置https://github.com/HomuHomu833/android-sdk-custom
I think this issue can be closed