From f78a09b60c4ce24e2455615722dd6ed8e2ba85e2 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 3 Apr 2015 20:01:38 +0200 Subject: kconfig: Add wildcard support for "source" Kconfig's include directive "source" does not support wildcards (e.g. source src/mainboard/*/Kconfig) which makes automatic inclusion of all boards a tedious task and prevents us from implementing "drop in" boards. In our Makefile.inc files we already include mainboard directories per wildcard, so let's add the infrastructure to do the same with Kconfig. Change-Id: I1988ff6ce3e167e86bb5cb65fc04a13748599dad Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/9294 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/kconfig/zconf.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/kconfig/zconf.y') diff --git a/util/kconfig/zconf.y b/util/kconfig/zconf.y index 0f683cfa53..e9be18dcd3 100644 --- a/util/kconfig/zconf.y +++ b/util/kconfig/zconf.y @@ -381,7 +381,7 @@ menu_block: source_stmt: T_SOURCE prompt T_EOL { printd(DEBUG_PARSE, "%s:%d:source %s\n", zconf_curname(), zconf_lineno(), $2); - zconf_nextfile($2); + zconf_nextfiles($2); }; /* comment entry */ -- cgit v1.2.3