kbuild: Allow kernel installation packaging to override pkg-config
authorChun-Tse Shao <ctshao@google.com>
Fri, 1 Apr 2022 23:18:02 +0000 (23:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:27:30 +0000 (08:27 +0100)
commit1d152437e46f9e27fe605a27425120f3e2b530ae
treef9938418e8817e8fb72177b63fb8de4d2973c086
parenta1964688582d26af1328e19b658933659fb54337
kbuild: Allow kernel installation packaging to override pkg-config

commit d5ea4fece4508bf8e72b659cd22fa4840d8d61e5 upstream.

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>
[swboyd@chromium.org: Drop certs/Makefile hunk that doesn't
apply because pkg-config isn't used there, add dtc/Makefile hunk to
fix dtb builds]
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Makefile
scripts/Makefile
scripts/dtc/Makefile
scripts/kconfig/gconf-cfg.sh
scripts/kconfig/mconf-cfg.sh
scripts/kconfig/nconf-cfg.sh
scripts/kconfig/qconf-cfg.sh
tools/objtool/Makefile