'compiling OpenSSL openssl-1.0.2u using the SDK path

I need to compile OpenSSL (openssl-1.0.2u) using the SDK path. Can anyone help me what option need to select during compilation with given SDK path. Please let me know complete procedure for compilation of OpenSSL using compiler and SYSROOT path.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source