QPKG package repository for OpenSSL builds.
QNAP Toolchain for your architecture (http://www.qnap.com/dev/en/p_toolchain.php)
QDK (http://forum.qnap.com/viewtopic.php?f=128&t=36132)
OpenSSL Compile Dependencies (https://www.openssl.org/)
./buildX86.sh
This script makes the following assumptions:
-
Your file system is setup as follows:
- [Root Folder]
- BuildEnvironments
- x86
- sys-root
- [Contents of sys-root folder from QNAP Toolchain]
- sys-root
- x86
- [OpenSSL Package Folder]
- [Contents of the git repository]
- BuildEnvironments
- [Root Folder]
The script performs the following steps:
- Clean any Existing Source Code & Installed Binaries
- Make the Source, Build & Config Directories
- Extract Source Code Archive
- Clean, Build & Install the Source Code using chroot to specify the required Toolchain
- Clean the QDK Package Environment
- Copy the Installed Binaries & Configs to the QDK Package Environment
- Build the QPKG File
Please contribute build scripts for more architectures. I currently only have access to a QNAP TS-269Pro which is an x86 architecture, so I am not able to build for ARM architectures. Thanks!