History

kconfig: fix too deep indentation in Makefile

The indentation for if ... else ... fi is too deep. Fix it.

Masahiro Yamada committed 6 years ago

Commit 1d135231 parent 68f0d621 file · +9 −9Browse files

Unified · Split

scripts/kconfig/Makefile+9−9
@@ -48,15 +48,15 @@ build_xconfig: $(obj)/qconf · 47 unmodified lines
4848
4949 localyesconfig localmodconfig: $(obj)/conf
5050 $(Q)perl $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config
51− $(Q)if [ -f .config ]; then \
52− cmp -s .tmp.config .config || \
53− (mv -f .config .config.old.1; \
54− mv -f .tmp.config .config; \
55− $< $(silent) --oldconfig $(Kconfig); \
56− mv -f .config.old.1 .config.old) \
57− else \
58− mv -f .tmp.config .config; \
59− $< $(silent) --oldconfig $(Kconfig); \
51+ $(Q)if [ -f .config ]; then \
52+ cmp -s .tmp.config .config || \
53+ (mv -f .config .config.old.1; \
54+ mv -f .tmp.config .config; \
55+ $< $(silent) --oldconfig $(Kconfig); \
56+ mv -f .config.old.1 .config.old) \
57+ else \
58+ mv -f .tmp.config .config; \
59+ $< $(silent) --oldconfig $(Kconfig); \
6060 fi
6161 $(Q)rm -f .tmp.config
6262