kconfiglib: update with 'imply' support
authorUlf Magnusson <ulfalizer@gmail.com>
Tue, 19 Sep 2017 10:52:55 +0000 (12:52 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 29 Sep 2017 18:07:54 +0000 (14:07 -0400)
commit4e1102f6de5faf917b99c10802867878af39260c
tree73bd7520e2675be40bac7afc0ab493ec0618fa5d
parent2719ae3346975b41f23c7785424587d020703cfc
kconfiglib: update with 'imply' support

Corresponds to 375506d (File writing nit) from upstream
(https://github.com/ulfalizer/Kconfiglib).

Adds proper 'imply' support and fixes a few minor issues, one of which
previously triggered the following weird warning:

  configs/taurus_defconfig: /tmp/tmpisI45S:6: warning: assignment to SPL_LDSCRIPT changes mode of containing choice from "arch/$(ARCH)/cpu/u-boot-spl.lds" to "y"

The change in 8639f69 (genconfig.py: Print defconfig next to warnings)
was reapplied.

tools/moveconfig.py previously depended on a hack that merged 'select's
with 'imply's. It was modified to look at the union of
Symbol.get_selected_symbols() and Symbol.get_implied_symbols(), which
should give the same behavior.

tools/genboardscfg.py was verified to produce identical board.cfg's
before and after the change.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
tools/buildman/kconfiglib.py
tools/moveconfig.py