]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scripts: set proper OpenSSL include dir also for sign-file
authorRolf Eike Beer <eb@emlix.com>
Fri, 12 Feb 2021 07:22:27 +0000 (08:22 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 14 Feb 2021 16:54:11 +0000 (01:54 +0900)
Fixes: fa3642bbd150 ("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>
scripts/Makefile

index 9de3c03b94aa763ec76e2bb9c2fe17cd0b66152a..c36106bce80ee273342558186ca3399b91eb72f1 100644 (file)
@@ -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)