diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-04-03 20:01:38 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-04-06 23:52:57 +0200 |
commit | f78a09b60c4ce24e2455615722dd6ed8e2ba85e2 (patch) | |
tree | 6ba23110d3abe24443934686abe609caad6ffc1f /util/kconfig/zconf.y | |
parent | 1f5349e61d8aea950d6a197d11b0aa730aa80ee6 (diff) |
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 <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/9294
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/kconfig/zconf.y')
-rw-r--r-- | util/kconfig/zconf.y | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |