diff options
author | Chun-Tse Shao <ctshao@google.com> | 2022-04-02 01:18:02 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-04-05 10:03:31 +0200 |
commit | d5ea4fece4508bf8e72b659cd22fa4840d8d61e5 (patch) | |
tree | 49ecc02e36b4d45f4cd53911a5307f4b8feb5f82 /certs | |
parent | kbuild: uapi: use -fsyntax-only rather than -S (diff) | |
download | linux-d5ea4fece4508bf8e72b659cd22fa4840d8d61e5.tar.xz linux-d5ea4fece4508bf8e72b659cd22fa4840d8d61e5.zip |
kbuild: Allow kernel installation packaging to override pkg-config
Add HOSTPKG_CONFIG to allow tooling that builds the kernel to override
what pkg-config and parameters are used.
Signed-off-by: Chun-Tse Shao <ctshao@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'certs')
-rw-r--r-- | certs/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/certs/Makefile b/certs/Makefile index d8443cfb1c40..e4a0488133f0 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -74,5 +74,5 @@ targets += x509_revocation_list hostprogs := extract-cert -HOSTCFLAGS_extract-cert.o = $(shell pkg-config --cflags libcrypto 2> /dev/null) -HOSTLDLIBS_extract-cert = $(shell pkg-config --libs libcrypto 2> /dev/null || echo -lcrypto) +HOSTCFLAGS_extract-cert.o = $(shell $(HOSTPKG_CONFIG) --cflags libcrypto 2> /dev/null) +HOSTLDLIBS_extract-cert = $(shell $(HOSTPKG_CONFIG) --libs libcrypto 2> /dev/null || echo -lcrypto) |