summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2022-12-11 13:13:45 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-12 13:40:32 +0000
commit710a38a26e1450f7b5f1ada6b5e0c49917488a78 (patch)
tree79bb057378b5fcbf04c9aef0e1ac3708636f456a
parent9fdd557f56064987a78abeefb7773136eb505461 (diff)
Makefile: Add default for HOSTPKG_CONFIG
Kconfig uses this variable to detect `ncurses` compilation and linking flags. Without it, some guesswork fallback is assumed that only works by chance. Change-Id: Iad21bdb2d61db04cf7397ab447c7c045e2067705 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70584 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Büchler <michael.buechler@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e81799276b..4fb0d71163 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,9 @@ endif
HOSTCFLAGS := -g
HOSTCXXFLAGS := -g
+HOSTPKG_CONFIG ?= pkg-config
+COREBOOT_EXPORTS += HOSTPKG_CONFIG
+
PREPROCESS_ONLY := -E -P -x assembler-with-cpp -undef -I .
export $(COREBOOT_EXPORTS)