I need to customize a Android ROM by building it from AOSP (for an embedded platform). I managed to create and compile a simple C++ "hello world" software, but now I want to use Eclipse to go further on the development (the software does NOT use NDK, it is a completely native software which manages IO ports). I suppose that I have to create a CMake file which points to the target ARCH (iMX8) and the CROSS_COMPILE (aarch64-linux-android-) right? But how can I point to the SYS_ROOT (if I have to). Can someone explain to me ho wdo I set up this kind of project for the Eclipse IDE? I have the AOSP built folder available.