kconfig: invoke oldconfig instead of silentoldconfig from local*config
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 1 Mar 2018 06:34:36 +0000 (15:34 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 25 Mar 2018 17:04:00 +0000 (02:04 +0900)
The purpose of local{yes,mod}config is to arrange the .config file
based on actually loaded modules.  It is unnecessary to update
include/generated/autoconf.h and include/config/* stuff here.
They will be updated as needed during the build.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
scripts/kconfig/Makefile

index cb3ec53a7c29f2e086aa72c6659f63ae76f2523f..41e2a9f5c85ac2c13b67d6d3bf4d47edf8947ca7 100644 (file)
@@ -49,11 +49,11 @@ localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
                        cmp -s .tmp.config .config ||                   \
                        (mv -f .config .config.old.1;                   \
                         mv -f .tmp.config .config;                     \
-                        $(obj)/conf $(silent) --silentoldconfig $(Kconfig); \
+                        $(obj)/conf $(silent) --oldconfig $(Kconfig);  \
                         mv -f .config.old.1 .config.old)               \
        else                                                            \
                        mv -f .tmp.config .config;                      \
-                       $(obj)/conf $(silent) --silentoldconfig $(Kconfig); \
+                       $(obj)/conf $(silent) --oldconfig $(Kconfig);   \
        fi
        $(Q)rm -f .tmp.config