blob: 10ac5a6e4b43a2857986e8eb1f23a36834c14ea6 [file]
From foo@baz Thu Mar 4 02:32:04 PM CET 2021
From: Rolf Eike Beer <eb@emlix.com>
Date: Thu, 04 Mar 2021 08:26:28 +0100
Subject: scripts: set proper OpenSSL include dir also for sign-file
To: stable@vger.kernel.org
Message-ID: <1859038.itBudK23F7@devpool47>
From: Rolf Eike Beer <eb@emlix.com>
commit fe968c41ac4f4ec9ffe3c4cf16b72285f5e9674f upstream.
Fixes: 2cea4a7a1885 ("scripts: use pkg-config to locate libcrypto")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
scripts/Makefile | 1 +
1 file changed, 1 insertion(+)
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -25,6 +25,7 @@ hostprogs-$(CONFIG_SYSTEM_EXTRA_CERTIFIC
HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include
HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include
+HOSTCFLAGS_sign-file.o = $(CRYPTO_CFLAGS)
HOSTLOADLIBES_sign-file = $(CRYPTO_LIBS)
HOSTCFLAGS_extract-cert.o = $(CRYPTO_CFLAGS)
HOSTLOADLIBES_extract-cert = $(CRYPTO_LIBS)