Skip to content
Snippets Groups Projects
Commit 580c5b3e authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: make parent directories for the saved .config as needed


With menuconfig / nconfig, users can input any file path from the
"Save" menu, but it fails if the parent directory does not exist.

Why not create the parent directory automatically. I think this is
a user-friendly behavior.

I changed the error messages in menuconfig / nconfig.

"Nonexistent directory" is no longer the most likely reason of the
failure. Perhaps, the user specified the existing directory, or
attempted to write to the location without write permission.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 67424f61
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment