summaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2021-02-12 10:22:27 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-02-14 19:54:11 +0300
commitfe968c41ac4f4ec9ffe3c4cf16b72285f5e9674f (patch)
treee54f1b4810f52cc8b113ec894583a4e577239003 /scripts/Makefile
parent27dad89bab2d71a8c4b13b497054db33d264b281 (diff)
downloadlinux-fe968c41ac4f4ec9ffe3c4cf16b72285f5e9674f.tar.xz
scripts: set proper OpenSSL include dir also for sign-file
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>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 9de3c03b94aa..c36106bce80e 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -17,6 +17,7 @@ hostprogs-always-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert
HOSTCFLAGS_sorttable.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)