summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJia Zhang <lans.zhang2008@gmail.com>2017-08-17 20:39:48 +0800
committerJia Zhang <lans.zhang2008@gmail.com>2017-08-17 20:39:48 +0800
commite11a0bd8de1d950a50499846117743af3958bb7c (patch)
treed8e275290dad256b3ecf0a184995354d195746d1
parent464433a169336a4362021e67a6f935a152450239 (diff)
downloadmeta-secure-core-e11a0bd8de1d950a50499846117743af3958bb7c.tar.gz
efitools: fix searching openssl.cnf for target build
Currently, OPENSSL_LIB is only used for locating openssl.cnf in order to work around openssl-1.1.x. Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
-rw-r--r--meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc b/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc
index 74d262b..21eb9f6 100644
--- a/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc
+++ b/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc
@@ -42,10 +42,9 @@ inherit perlnative
42EXTRA_OEMAKE = "\ 42EXTRA_OEMAKE = "\
43 HELP2MAN='${STAGING_BINDIR_NATIVE}/help2man' \ 43 HELP2MAN='${STAGING_BINDIR_NATIVE}/help2man' \
44 OPENSSL='${STAGING_BINDIR_NATIVE}/openssl' \ 44 OPENSSL='${STAGING_BINDIR_NATIVE}/openssl' \
45 OPENSSL_CFG=' -config ${STAGING_LIBDIR_NATIVE}/ssl-1.1/openssl.cnf' \
46 SBSIGN='${STAGING_BINDIR_NATIVE}/sbsign' \ 45 SBSIGN='${STAGING_BINDIR_NATIVE}/sbsign' \
47 OPENSSL_LIB='${STAGING_LIBDIR}' \
48 NM='${NM}' AR='${AR}' \ 46 NM='${NM}' AR='${AR}' \
47 OPENSSL_LIB='${STAGING_LIBDIR_NATIVE}' \
49" 48"
50EXTRA_OEMAKE_append_x86 += " ARCH=ia32" 49EXTRA_OEMAKE_append_x86 += " ARCH=ia32"
51EXTRA_OEMAKE_append_x86-64 += " ARCH=x86_64" 50EXTRA_OEMAKE_append_x86-64 += " ARCH=x86_64"