the following patch was just integrated into master:
commit ef21e77bbcbc32ba0722ba961dfe2d6672bf05d2
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Jul 17 23:31:19 2015 +0200
intel/kunimitsu: Fix Kconfig symbol type
BOOT_MEDIA_SPI_BUS is int, not hex.
Change-Id: I5cbcc3889a025caab921208037c8a61d224078a7
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/10973
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
See http://review.coreboot.org/10973 for details.
-gerrit
the following patch was just integrated into master:
commit ef6a6a4723a8242e25ce1ec0dfbaf3105fc61c0b
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Fri Jul 17 13:32:30 2015 -0700
skylake: fix whitespace
Found by commit hook.
Change-Id: Ic4090106b4b9db7ed9f5de9ed1d439e5bb49039c
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
See http://review.coreboot.org/10971 for details.
-gerrit
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10977
-gerrit
commit 5161802f974c95a20ded682a9d9c984043ff7f52
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Fri Jul 17 17:26:48 2015 -0700
Kconfig: Add KCONFIG_STRICT mode
This is basically a -Werror mode for Kconfig. When exporting
KCONFIG_STRICT in the Makefile, warnings in Kconfig will produce
errors instead.
This will make it easier to spot unclean Kconfig files, settings
and dependencies.
Change-Id: I941af24c3ccb10b8b9ddc5c98327154749ebbbc6
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
util/kconfig/confdata.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/util/kconfig/confdata.c b/util/kconfig/confdata.c
index 235debf..5804b29 100644
--- a/util/kconfig/confdata.c
+++ b/util/kconfig/confdata.c
@@ -358,6 +358,7 @@ load:
if (def == S_DEF_USER) {
sym = sym_find(line + strlen(CONFIG_));
if (!sym) {
+ conf_warning("trying to assign non-existent symbol %s", line + strlen(CONFIG_));
sym_add_change_count(1);
goto setsym;
}
@@ -402,6 +403,13 @@ setsym:
if (modules_sym)
sym_calc_value(modules_sym);
+
+ name = getenv("KCONFIG_STRICT");
+ if (name && *name && conf_warnings) {
+ fprintf(stderr, "\nERROR: %d warnings encountered, and warnings are errors.\n\n", conf_warnings);
+ return 1;
+ }
+
return 0;
}
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10970
-gerrit
commit 3ea7c1add519826e913db2b64f91e03b9a81eb1b
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Fri Jul 17 13:31:16 2015 -0700
Makefile: Fix KCONFIG_AUTOHEADER dependencies
This makes the Makefile more robust when changing the file name
or changing the .config outside of make *config
Change-Id: Ifc013cc3ef899a7846742a961261ac50bc67e27b
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 85a10c0..3a1b83a 100644
--- a/Makefile
+++ b/Makefile
@@ -138,7 +138,7 @@ real-all: real-target
# must come rather early
.SECONDEXPANSION:
-$(obj)/config.h:
+$(KCONFIG_AUTOHEADER): $(KCONFIG_CONFIG)
$(MAKE) oldconfig
# Add a new class of source/object files to the build system
@@ -218,7 +218,7 @@ define create_cc_template
# $4 additional dependencies
ifn$(EMPTY)def $(1)-objs_$(2)_template
de$(EMPTY)fine $(1)-objs_$(2)_template
-$$(call src-to-obj,$1,$$(1).$2): $$(1).$2 $(obj)/config.h $(4)
+$$(call src-to-obj,$1,$$(1).$2): $$(1).$2 $(KCONFIG_AUTOHEADER) $(4)
@printf " CC $$$$(subst $$$$(obj)/,,$$$$(@))\n"
$(CC_$(1)) -MMD $$$$(CPPFLAGS_$(1)) $$$$(CFLAGS_$(1)) -MT $$$$(@) $(3) -c -o $$$$@ $$$$<
en$(EMPTY)def
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10970
-gerrit
commit 929e16ce1b2da702c28ecbe9fbaa1ba10619cd55
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Fri Jul 17 13:31:16 2015 -0700
Makefile: use KCONFIG_AUTOHEADER instead of file name
This makes the Makefile more robust when changing the file name.
Change-Id: Ifc013cc3ef899a7846742a961261ac50bc67e27b
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 85a10c0..3a1b83a 100644
--- a/Makefile
+++ b/Makefile
@@ -138,7 +138,7 @@ real-all: real-target
# must come rather early
.SECONDEXPANSION:
-$(obj)/config.h:
+$(KCONFIG_AUTOHEADER): $(KCONFIG_CONFIG)
$(MAKE) oldconfig
# Add a new class of source/object files to the build system
@@ -218,7 +218,7 @@ define create_cc_template
# $4 additional dependencies
ifn$(EMPTY)def $(1)-objs_$(2)_template
de$(EMPTY)fine $(1)-objs_$(2)_template
-$$(call src-to-obj,$1,$$(1).$2): $$(1).$2 $(obj)/config.h $(4)
+$$(call src-to-obj,$1,$$(1).$2): $$(1).$2 $(KCONFIG_AUTOHEADER) $(4)
@printf " CC $$$$(subst $$$$(obj)/,,$$$$(@))\n"
$(CC_$(1)) -MMD $$$$(CPPFLAGS_$(1)) $$$$(CFLAGS_$(1)) -MT $$$$(@) $(3) -c -o $$$$@ $$$$<
en$(EMPTY)def