aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-27 10:37:21 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-09 02:08:18 -0400
commite0a2668665a5f59e210f09385cd2d29833e5f9fa (patch)
tree5841421217771a8b51e3591e4399c5ee17ebf60e
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008 (diff)
kconfig: remove always false ifeq ($(KBUILD_DEFCONFIG,) conditional
With the following two commits applied, all the arch Makefiles define KBUILD_DEFCONFIG. - Commit f3e20ad67b4c ("s390: move arch/s390/defconfig to arch/s390/configs/defconfig") - Commit 986a13769c4b ("alpha: move arch/alpha/defconfig to arch/alpha/configs/defconfig") The first conditional in the defconfig rule is always false. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--scripts/kconfig/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 3f327e21f60e..059642bd6584 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -74,9 +74,7 @@ savedefconfig: $(obj)/conf
74 $< $(silent) --$@=defconfig $(Kconfig) 74 $< $(silent) --$@=defconfig $(Kconfig)
75 75
76defconfig: $(obj)/conf 76defconfig: $(obj)/conf
77ifeq ($(KBUILD_DEFCONFIG),) 77ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
78 $< $(silent) --defconfig $(Kconfig)
79else ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
80 @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" 78 @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
81 $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) 79 $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
82else 80else