]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Dec 2018 01:40:52 +0000 (10:40 +0900)
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>
scripts/kconfig/confdata.c

index 1e35529d4eebd16cf1c7c704328c9d196d246f3f..4c76d561d3830d5c9e99658a1189410b34922666 100644 (file)
@@ -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");