summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2016-06-30 00:32:02 +0200
committerMartin Roth <martinroth@google.com>2016-07-01 19:29:53 +0200
commite1a022ade46a6b8885e52b680f790235547242d8 (patch)
tree35d025017565325adcee692d2d7e553fcf62ba34 /util
parent222381e390191d7a4476642ae0e544c96349a096 (diff)
downloadcoreboot-e1a022ade46a6b8885e52b680f790235547242d8.tar.xz
util/kconfig: Fix gconfig build
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 <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/15505 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/kconfig/gconf.c2
1 files changed, 2 insertions, 0 deletions
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
};