[coreboot-gerrit] Patch set updated for coreboot: util/kconfig: Fix gconfig build

Jonathan Neuschäfer (j.neuschaefer@gmx.net) gerrit at coreboot.org
Thu Jun 30 18:27:00 CEST 2016


Jonathan Neuschäfer (j.neuschaefer at gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15505

-gerrit

commit 1fc08f2dae7acd22e5e54e97ead4434d12579ea6
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date:   Thu Jun 30 00:32:02 2016 +0200

    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 at gmx.net>
---
 util/kconfig/gconf.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/kconfig/gconf.c b/util/kconfig/gconf.c
index d0a35b2..faa1c59 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
 };



More information about the coreboot-gerrit mailing list