kconfig: rename conf_split_config() to conf_touch_deps()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 30 Nov 2018 09:15:49 +0000 (18:15 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:30:40 +0000 (22:30 +0100)
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/confdata.c

index b7171503936a208af6e103d07ad54c2a8d95ce38..7ba857cad240383e2e85fc8f9bb4771171682af1 100644 (file)
@@ -952,7 +952,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];
@@ -1070,7 +1070,7 @@ int conf_write_autoconf(void)
 
        conf_write_dep("include/generated/auto.conf.cmd");
 
-       if (conf_split_config())
+       if (conf_touch_deps())
                return 1;
 
        out = fopen(".tmpconfig", "w");