编译dronity

git clone https://github.com/vitorallo/dronity

修改makefile

指定SYSROOT,CROSS_COMPILE,CC

SYSROOT := /home/szj/software/android-ndk-r11c/platforms/android-21/arch-arm64/
CROSS_COMPILE := /home/szj/software/android-ndk-r11c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/
CC := aarch64-linux-android-gcc


make

你可能感兴趣的:(android)