-rw-r--r-- | Makefile.test | 6 |
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 @@ -44,39 +44,45 @@ xconfig : $(call descend,scripts/kconfig,qconf) ./scripts/kconfig/qconf ./config.in menuconfig : scripts/lxdialog/lxdialog $(call descend,scripts/kconfig,mconf) ./scripts/kconfig/mconf ./config.in config : $(call descend,scripts/kconfig,conf) ./scripts/kconfig/conf ./config.in oldconfig : $(call descend,scripts/kconfig,conf) ./scripts/kconfig/conf -o ./config.in randconfig : $(call descend,scripts/kconfig,conf) ./scripts/kconfig/conf -r ./config.in allyesconfig : $(call descend,scripts/kconfig,conf) ./scripts/kconfig/conf -y ./config.in allnoconfig : $(call descend,scripts/kconfig,conf) ./scripts/kconfig/conf -n ./config.in defconfig : $(call descend,scripts/kconfig,conf) ./scripts/kconfig/conf -d ./config.in +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 all : $(subdir-y) include $(TOPDIR)/Rules.make |