diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-10-01 14:32:52 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-10-11 23:13:23 +0900 |
commit | fee762d69ad5968dfd0ecbc300810f185ee5c5b8 (patch) | |
tree | b34e3bd9e7edcb8e45d2d4b43b74bd53f35e07aa /arch/sparc | |
parent | 00d674cb35362dd30df7ff1e0003ad6d6c3ebf3a (diff) | |
download | linux-fee762d69ad5968dfd0ecbc300810f185ee5c5b8.tar.bz2 |
kconfig: refactor conf_touch_dep()
If this function fails to touch a dummy header due to missing parent
directory, then it creates it and touches the file again.
This was needed because CONFIG_FOO_BAR was previously tracked by
include/config/foo/bar.h. (include/config/foo/ may not exist here)
This is no longer the case since commit 0e0345b77ac4 ("kbuild: redo
fake deps at include/config/*.h"); now all the fake headers are placed
right under include/config/, like include/config/FOO_BAR.
Do not try to create parent directory, include/config/, which already
exists.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions