项目作者: qhuyduong

项目描述 :
ADB for ARM/AARCH64
高级语言: C++
项目地址: git://github.com/qhuyduong/arm_adb.git
创建时间: 2017-07-12T07:48:51Z
项目社区:https://github.com/qhuyduong/arm_adb

开源协议:GNU General Public License v3.0

下载


arm_adb

Android’s adb ported to ARM with automake source structures

Prerequisites

NOTE: Please make sure you are using navite/cross gcc/g++ >= 4.9

  1. $ sudo apt-get install libtool automake

For cross-compiling:

ARM

  1. $ sudo apt-get install linux-libc-dev-armhf-cross libc6-armhf-cross libc6-dev-armhf-cross

AARCH64

  1. $ sudo apt-get install linux-libc-dev-arm64-cross libc6-arm64-cross libc6-dev-arm64-cross

How to build and run

Native compiling

Native-compile openssl

  1. $ git clone https://github.com/qhuyduong/openssl-1.0.2l.git
  2. $ cd openssl-1.0.2l/
  3. $ ./Configure --prefix=/tmp/openssl os/compiler:gcc
  4. $ make && make install
  5. $ cd -

Native-compile arm_adb

  1. $ git clone https://github.com/qhuyduong/arm_adb
  2. $ cd arm_adb
  3. $ ./configure --includedir=/tmp/openssl/include --libdir=/tmp/openssl/lib
  4. $ make

Cross-compiling

Cross-compile Openssl

  1. $ git clone https://github.com/qhuyduong/openssl-1.0.2l.git
  2. $ cd openssl-1.0.2l/
  3. $ ./Configure --prefix=/tmp/openssl os/compiler:$TOOLCHAIN_PREFIX-gcc
  4. $ make && make install
  5. $ cd -

Cross-compile arm_adb

  1. $ git clone https://github.com/qhuyduong/arm_adb
  2. $ cd arm_adb
  3. $ ./configure --host=$TOOLCHAIN_PREFIX --includedir=/tmp/openssl/include --libdir=/tmp/openssl/lib
  4. $ make

Troubleshooting

1. WARNING: ‘aclocal-1.xx’ is missing on your system

Run below command before configure

  1. $ autoreconf -i --force

Donation

If this project helps you reduce time to develop, you can give me a cup of coffee by clicking the sponsor button on top!