ron minnich wrote:
On Thu, Aug 21, 2008 at 6:40 PM, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
This is a RFC only to show what we could do. Basically, the DTS is now the only source of hardware description and a converter creates Kconfig variables from each mainboard DTS.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
This is kind of interesting. Note that you are creating the mainboard Kconfig from dts; it's not like Kconfig just disappears, right?
At first glance I like it but I'd like to see other comments.
thanks
ron
I like the idea, but the script should create .tree and tree.h (like .config and config.h) that can be included by the Makefile and the code. Actually running the produced stuff through Kconfig is wrong, because it has nothing to do with user configuration. Instead both Kconfig and the tree parser should produce similar output for the data each of them collects.