summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2021-02-12 08:22:27 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-04 09:39:29 +0100
commitd1727e0e5c680938734586af2b5764c42fc16aec (patch)
tree493f6030e32cc1331af67c4afff42f98fa8d38e9 /scripts
parentc796145707dfe5d6276146e6fe82dcbe350769d0 (diff)
downloadlinux-stable-d1727e0e5c680938734586af2b5764c42fc16aec.tar.gz
linux-stable-d1727e0e5c680938734586af2b5764c42fc16aec.tar.bz2
linux-stable-d1727e0e5c680938734586af2b5764c42fc16aec.zip
scripts: set proper OpenSSL include dir also for sign-file
commit fe968c41ac4f4ec9ffe3c4cf16b72285f5e9674f upstream. Fixes: 2cea4a7a1885 ("scripts: use pkg-config to locate libcrypto") Signed-off-by: Rolf Eike Beer <eb@emlix.com> Cc: stable@vger.kernel.org # 5.6.x Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 5f1ff6d34e30..3ce4981bb2b6 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -26,6 +26,7 @@ hostprogs-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert
HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include
HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include
+HOSTCFLAGS_sign-file.o = $(CRYPTO_CFLAGS)
HOSTLDLIBS_sign-file = $(CRYPTO_LIBS)
HOSTCFLAGS_extract-cert.o = $(CRYPTO_CFLAGS)
HOSTLDLIBS_extract-cert = $(CRYPTO_LIBS)