summaryrefslogtreecommitdiff
path: root/Makefile.test
Side-by-side diff
Diffstat (limited to 'Makefile.test') (more/less context) (show whitespace changes)
-rw-r--r--Makefile.test12
1 files changed, 4 insertions, 8 deletions
diff --git a/Makefile.test b/Makefile.test
index a98eb0d..9af15dc 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -75,20 +75,16 @@ defconfig :
./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
export QMAKESPEC=$(QMAKESPECSDIR)/qws/$(patsubst "%",%,$(CONFIG_SPECFILE))
-all : $(subdir-y)
+all clean: $(subdir-y)
-$(subdir-y) : $(TOPDIR)/stamp-headers
+$(subdir-y) : $(TOPDIR)/stamp-headers $(TOPDIR)/library/custom.h
+
+clean : $(TOPDIR)/.config
include $(TOPDIR)/Rules.make