Created
January 14, 2020 09:03
-
-
Save HouzuoGuo/a5326b49cb17b7db2c46900f387dfaf5 to your computer and use it in GitHub Desktop.
Cross-compile and build OpenSSL for 32-bit ARM (hard-float) on an Intel/AMD computer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit APT sources list file and uncomment/enable deb-src sources, then: | |
sudo dpkg --add-architecture armhf | |
sudo apt-get update | |
sudo apt-get install crossbuild-essential-armhf | |
sudo apt-get build-dep -a armhf openssl | |
apt-get source openssl | |
cd openssl-1.1.1 | |
debuild -- clean | |
env DEB_HOST_MULTIARCH=armhf DEB_BUILD_OPTIONS=nocheck debuild -uc -us -aarmhf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment