diff options
| -rw-r--r-- | scripts/kconfig/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 5e0cd86cb4a7..3f327e21f60e 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
| @@ -76,15 +76,13 @@ savedefconfig: $(obj)/conf | |||
| 76 | defconfig: $(obj)/conf | 76 | defconfig: $(obj)/conf |
| 77 | ifeq ($(KBUILD_DEFCONFIG),) | 77 | ifeq ($(KBUILD_DEFCONFIG),) |
| 78 | $< $(silent) --defconfig $(Kconfig) | 78 | $< $(silent) --defconfig $(Kconfig) |
| 79 | else | 79 | else ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) |
| 80 | ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) | ||
| 81 | @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" | 80 | @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" |
| 82 | $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) | 81 | $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) |
| 83 | else | 82 | else |
| 84 | @$(kecho) "*** Default configuration is based on target '$(KBUILD_DEFCONFIG)'" | 83 | @$(kecho) "*** Default configuration is based on target '$(KBUILD_DEFCONFIG)'" |
| 85 | $(Q)$(MAKE) -f $(srctree)/Makefile $(KBUILD_DEFCONFIG) | 84 | $(Q)$(MAKE) -f $(srctree)/Makefile $(KBUILD_DEFCONFIG) |
| 86 | endif | 85 | endif |
| 87 | endif | ||
| 88 | 86 | ||
| 89 | %_defconfig: $(obj)/conf | 87 | %_defconfig: $(obj)/conf |
| 90 | $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig) | 88 | $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig) |
