diff mbox series

[4.14,/,4.9,/,4.4,2/2] scripts: set proper OpenSSL include dir also for sign-file

Message ID 1859038.itBudK23F7@devpool47
State New
Headers show
Series [4.14,/,4.9,/,4.4,1/2] scripts: use pkg-config to locate libcrypto | expand

Commit Message

Rolf Eike Beer March 4, 2021, 7:26 a.m. UTC
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>
---
 scripts/Makefile | 1 +
 1 file changed, 1 insertion(+)

 HOSTLOADLIBES_extract-cert = $(CRYPTO_LIBS)
diff mbox series

Patch

diff --git a/scripts/Makefile b/scripts/Makefile
index 6a9f6db114b0..fb82adadb680 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -25,6 +25,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)
 HOSTLOADLIBES_sign-file = $(CRYPTO_LIBS)
 HOSTCFLAGS_extract-cert.o = $(CRYPTO_CFLAGS)