]> 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)
commit0cec12d6be84f5ef8df7fe747e0f7698e5bbd26e
treea8283bd6d7c410f7940b23e52dbc47e8eb08456e
parent8c99b6fd2c31bfd62b18b5f71b55539af41fc25d
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