Hello. I am little newbie in android ROM making.
But i want to learn
I download sources, configure environment and successfully build clean latest nougat.
Now i want add GPS library to my ROM.
But i don’t fully understand how.
I found this document
and follow instructions:
- Copy Source Code Directory of GPS Driver
Copy the “gps/” from source code directory of Quectel GPS driver to “(_$AndroidSourceRoot)/hardware
/libhardware /modules”. - Modify Android Makefile
Modify the “Android.mk” file under the “(_$AndroidSourceRoot)/hardware/libhardware/modules” directory
as below:
hardware_modules := gralloc hwcomposer audio nfc gps
so i have:
and
make -j4 gps not work
make -j otaimage also not compile gps.default.so lib.
What i doing wrong?
This library i want include in ROM