Skip to content

Commit 1d13523

Browse files
committed
kconfig: fix too deep indentation in Makefile
The indentation for if ... else ... fi is too deep. Fix it. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 68f0d62 commit 1d13523

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scripts/kconfig/Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ build_xconfig: $(obj)/qconf
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

0 commit comments

Comments
 (0)