From e1a022ade46a6b8885e52b680f790235547242d8 Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Thu, 30 Jun 2016 00:32:02 +0200 Subject: util/kconfig: Fix gconfig build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This linker error was the problem: build/util/kconfig/zconf.tab.o: In function `conf_read_simple': /home/jn/dev/coreboot/util/kconfig/confdata.c:413: undefined reference to `kconfig_warnings' /home/jn/dev/coreboot/util/kconfig/confdata.c:413: undefined reference to `kconfig_warnings' build/util/kconfig/zconf.tab.o: In function `sym_calc_value': /home/jn/dev/coreboot/util/kconfig/symbol.c:388: undefined reference to `kconfig_warnings' /home/jn/dev/coreboot/util/kconfig/symbol.c:388: undefined reference to `kconfig_warnings' collect2: error: ld returned 1 exit status /home/jn/dev/coreboot/util/kconfig/Makefile:339: recipe for target 'build/util/kconfig/gconf' failed make: *** [build/util/kconfig/gconf] Error 1 Change-Id: I4a667c7c15b35618fb9ad536f2be5044b8031ab4 Signed-off-by: Jonathan Neuschäfer Reviewed-on: https://review.coreboot.org/15505 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering Reviewed-by: Patrick Georgi --- util/kconfig/gconf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') diff --git a/util/kconfig/gconf.c b/util/kconfig/gconf.c index d0a35b21f3..faa1c59b8e 100644 --- a/util/kconfig/gconf.c +++ b/util/kconfig/gconf.c @@ -26,6 +26,8 @@ //#define DEBUG +int kconfig_warnings = 0; + enum { SINGLE_VIEW, SPLIT_VIEW, FULL_VIEW }; -- cgit v1.2.3