Preface
I've checked this and this and STFW before I ask. Because of ROM's Difference , I want to cross compile an ADB server(N+) running on my aarch64 device from the [adb source code].
You can see here for the difference changes of android.mk in the following lines:
Latest Android 7.+ version , Lollipop Android 5.+ version This Version contains adb for device-on-target feature.
Question
I can't find a proper MakeFile and it's just a Android.mk in the folder.How should I convert it to makefile in order to using make
to build a adb for device-on-target. I've already built a cross compiling environment and installed the ndk-build
,repo
,build-essential
on my ubuntu 16.04 lts.
Or on the other hand, can I only build ADB for device-on-target without compiling the whole rom?Which argument should I use with ndk-build
?Please give me more detailed info and caution.