summaryrefslogtreecommitdiff
path: root/Makefile.test
Side-by-side diff
Diffstat (limited to 'Makefile.test') (more/less context) (show whitespace changes)
-rw-r--r--Makefile.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.test b/Makefile.test
index 74c6587..392ea37 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -75,5 +75,11 @@ defconfig :
+ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean)
-include $(TOPDIR)/.config
+endif
+ifeq ($(shell if [ -e $(TOPDIR)/..config.cmd ]; then echo exists; fi),exists)
-include $(TOPDIR)/..config.cmd
+endif
+ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean)
-include $(TOPDIR)/.depends
+endif