summaryrefslogtreecommitdiff
path: root/Makefile.test
Side-by-side diff
Diffstat (limited to 'Makefile.test') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.test b/Makefile.test
index a7ceed4..b917c32 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -20,7 +20,7 @@ all : $(TOPDIR)/.config
$(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs
-all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends
+all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs
clean-configs : $(TOPDIR)/.depends.cfgs
@echo "Wiping generated config.in files..."
@@ -78,9 +78,11 @@ defconfig :
export
+ifneq ($(filter-out config menuconfig xconfig randconfig allyesconfig allnoconfig defconfig,$(MAKECMDGOALS)),)
-include $(TOPDIR)/.config
-include $(TOPDIR)/..config.cmd
-include $(TOPDIR)/.depends
+endif
export QMAKESPEC=$(QMAKESPECSDIR)/qws/$(patsubst "%",%,$(CONFIG_SPECFILE))