]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: split out useful helpers in confdata.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 20 Jul 2018 07:46:27 +0000 (16:46 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 25 Jul 2018 14:25:29 +0000 (23:25 +0900)
commit3d3c0aa2293f9af990d624e6f5789e73c98f2093
treea8283bd6d7c410f7940b23e52dbc47e8eb08456e
parent55d0f6acb33c6a09ec174ea5e34304d9f1c27673
kconfig: split out useful helpers in confdata.c

Split out helpers:
 is_present() - check if the given path exists
 is_dir() - check if the given path exists and it is a directory
 make_parent_dir() - create the parent directories of the given path

These helpers will be reused in later commits.

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