From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Cc: Christian Melki <christian.melki@t2data.com>, mkl@pengutronix.de
Subject: [ptxdist] [PATCH] openssl: Use CROSS_LIB_DIR.
Date: Mon, 26 Apr 2021 23:21:52 +0200 [thread overview]
Message-ID: <20210426212152.19976-1-christian.melki@t2data.com> (raw)
Instead of using static paths, resolve them instead.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
rules/openssl.make | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rules/openssl.make b/rules/openssl.make
index f8d07b472..492bac3e1 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -65,8 +65,8 @@ endif
#
OPENSSL_CONF_OPT := \
--prefix=/usr \
- --libdir=/usr/lib \
- --openssldir=/usr/lib/ssl \
+ --libdir=/usr/$(CROSS_LIB_DIR) \
+ --openssldir=/usr/$(CROSS_LIB_DIR)/ssl \
shared \
$(call ptx/ifdef, PTXCONF_OPENSSL_CRYPTODEV, enable-devcryptoeng, no-devcryptoeng) \
no-idea \
@@ -106,7 +106,7 @@ ifdef PTXCONF_OPENSSL_BIN
endif
@$(call install_alternative, openssl, 0, 0, 0644, \
- /usr/lib/ssl/openssl.cnf)
+ /usr/$(CROSS_LIB_DIR)/ssl/openssl.cnf)
@$(call install_lib, openssl, 0, 0, 0644, libssl)
@$(call install_lib, openssl, 0, 0, 0644, libcrypto)
--
2.31.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-04-26 21:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 21:21 Christian Melki [this message]
2021-05-07 6:07 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210426212152.19976-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=mkl@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox