From 710a38a26e1450f7b5f1ada6b5e0c49917488a78 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 11 Dec 2022 13:13:45 +0100 Subject: Makefile: Add default for HOSTPKG_CONFIG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70584 Tested-by: build bot (Jenkins) Reviewed-by: Michael Büchler Reviewed-by: Angel Pons --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.1