1. tar xzvf openssl-1.1.1d.tar.gz; cd openssl-1.1.1d
2. vi mybuild.sh
#!/bin/sh
./Configure linux-generic32 shared -DL_ENDIAN --prefix=/tmp/openssl --openssldir=/tmp/openssl
TOOL_PREFIX=/home/user/bin/arm-arago-linux-gnueabi-
CROSS_COMPILE=${TOOL_PREFIX}
make install CC=${CROSS_COMPILE}gcc RANLIB=${CROSS_COMPILE}ranlib LD=${CROSS_COMPILE}ld MAKEDEPPROG=${CROSS_COMPILE}gcc PROCESSOR=ARM
3. mkdir /tmp/openssl
4. chmod +x mybuild.sh
5. ./mybuild.sh