summaryrefslogtreecommitdiff
path: root/scripts/kconfig/confdata.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-30 12:15:49 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-08 04:40:52 +0300
commit0849d212e39523e2289c2a6d685b899f944746eb (patch)
treea4f152e7d35a99bc43d2e78496ddd25e1c505966 /scripts/kconfig/confdata.c
parent75889e9be78febab9991f9c07fdf09d128562bf5 (diff)
downloadlinux-0849d212e39523e2289c2a6d685b899f944746eb.tar.xz
kconfig: rename conf_split_config() to conf_touch_deps()
According to commit 2e3646e51b2d ("kconfig: integrate split config into silentoldconfig"), this function was named after split-include tool, which used to exist in old versions of Linux. Setting aside the historical reason, rename it into a more intuitive name. This function touches timestamp files under include/config/ in order to interact with the fixdep tool. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kconfig/confdata.c')
-rw-r--r--scripts/kconfig/confdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 1e35529d4eeb..4c76d561d383 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -906,7 +906,7 @@ static int conf_write_dep(const char *name)
return 0;
}
-static int conf_split_config(void)
+static int conf_touch_deps(void)
{
const char *name;
char path[PATH_MAX+1];
@@ -1028,7 +1028,7 @@ int conf_write_autoconf(int overwrite)
conf_write_dep("include/config/auto.conf.cmd");
- if (conf_split_config())
+ if (conf_touch_deps())
return 1;
out = fopen(".tmpconfig", "w");