kconfig: Add wildcard support for "source"
commitf78a09b60c4ce24e2455615722dd6ed8e2ba85e2
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Fri, 3 Apr 2015 18:01:38 +0000 (3 20:01 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 6 Apr 2015 21:52:57 +0000 (6 23:52 +0200)
tree6ba23110d3abe24443934686abe609caad6ffc1f
parent1f5349e61d8aea950d6a197d11b0aa730aa80ee6
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>
util/kconfig/Makefile
util/kconfig/lkc.h
util/kconfig/zconf.l
util/kconfig/zconf.lex.c_shipped
util/kconfig/zconf.tab.c_shipped
util/kconfig/zconf.y