diff options
author | Christian Melki <christian.melki@t2data.com> | 2021-04-26 23:21:52 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-04-30 13:48:41 +0200 |
commit | c7cc9947310d21466e4f25b31d989570992c3706 (patch) | |
tree | 994a6c49bf4ec412851c25ee04f75992e2bf6fd7 | |
parent | 842b1b8e87c39ad2f727594d5e52441337a6c5d1 (diff) | |
download | ptxdist-c7cc9947310d21466e4f25b31d989570992c3706.tar.gz ptxdist-c7cc9947310d21466e4f25b31d989570992c3706.tar.xz |
openssl: Use CROSS_LIB_DIR.
Instead of using static paths, resolve them instead.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
Message-Id: <20210426212152.19976-1-christian.melki@t2data.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/openssl.make | 6 |
1 files 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) |