diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-01-15 10:19:59 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-01-15 10:19:59 +0100 |
commit | afaea7e6457165b57df712a952ffd0f8c6aebb7b (patch) | |
tree | dbf21ff24339f3676d3ee635cf834faab7ad04e2 /package/openssl | |
parent | b2601db0bb473d21872d70ea891708bb912efa97 (diff) | |
parent | 95344f4501936c3ad79fbe21dda4888dbcfd5d51 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openssl')
-rw-r--r-- | package/openssl/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile index 59032a295..09c82b08a 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -26,19 +26,22 @@ PKGSS_OPENSSL_UTIL:= libopenssl PKG_FLAVOURS_LIBOPENSSL:= WITH_CRYPTODEV PKGFD_WITH_CRYPTODEV:= enable support for cryptodev-linux +include ${ADK_TOPDIR}/mk/host.mk include ${ADK_TOPDIR}/mk/package.mk +$(eval $(call HOST_template,OPENSSL,openssl,${PKG_VERSION}-${PKG_RELEASE})) $(eval $(call PKG_template,LIBOPENSSL,libopenssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS))) $(eval $(call PKG_template,OPENSSL_UTIL,openssl-util,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENSSL_UTIL},${PKGSD_OPENSSL_UTIL},${PKGSC_OPENSSL_UTIL})) +OPENSSL_OPTIONS:= shared threads no-err no-krb5 zlib-dynamic no-engines no-camellia no-idea no-rc5 no-mdc2 no-sha0 no-smime no-aes192 no-cast + +HOST_STYLE:= manual CONFIG_STYLE:= manual BUILD_STYLE:= manual INSTALL_TARGET:= install_sw FAKE_FLAGS+= INSTALL_PREFIX=${WRKINST} -OPENSSL_OPTIONS:= shared threads no-err no-krb5 zlib-dynamic no-engines no-camellia no-idea no-rc5 no-mdc2 no-sha0 no-smime no-aes192 no-cast - ifneq ($(ADK_PACKAGE_LIBOPENSSL_WITH_CRYPTODEV),) OPENSSL_OPTIONS+= -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS endif @@ -60,6 +63,15 @@ else CONFIG:= linux-embedded endif +host-configure: + (cd $(WRKBUILD); ./config --prefix='$(STAGING_HOST_DIR)/usr') + +host-build: + (cd $(WRKBUILD); make) + +openssl-hostinstall: + (cd $(WRKBUILD); make install) + post-extract: -mkdir -p $(STAGING_TARGET_DIR)/usr/include/crypto $(CP) ./files/cryptodev.h $(STAGING_TARGET_DIR)/usr/include/crypto/ @@ -97,4 +109,5 @@ openssl-util-install: ${CP} ${WRKSRC}/apps/openssl.cnf ${IDIR_OPENSSL_UTIL}/etc/ssl/ chmod 0700 ${IDIR_OPENSSL_UTIL}/etc/ssl/private +include ${ADK_TOPDIR}/mk/host-bottom.mk include ${ADK_TOPDIR}/mk/pkg-bottom.mk |