kconfig: split out code touching a file to conf_touch_dep()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 30 Nov 2018 09:15:50 +0000 (18:15 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Dec 2018 01:42:30 +0000 (10:42 +0900)
commit1508fec82e394149212aca836dd925d7e8fa3228
tree73b2092c4e13e9ddf5e1fcca30c73200d40f1301
parent0849d212e39523e2289c2a6d685b899f944746eb
kconfig: split out code touching a file to conf_touch_dep()

conf_touch_deps() iterates over symbols, touching corresponding
include/config/*.h files as needed.

Split the part that touches a single file into a new helper so it can
be reused.

The new helper, conf_touch_dep(), takes a symbol name as a parameter,
and touches the corresponding include/config/*.h file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/confdata.c