summaryrefslogtreecommitdiff
path: root/Makefile.test
Unidiff
Diffstat (limited to 'Makefile.test') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.test14
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile.test b/Makefile.test
index a98eb0d..9af15dc 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -40,7 +40,7 @@ $(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs)
40# config rules must have the $(configs) var defined 40# config rules must have the $(configs) var defined
41# at the time that they run. we must ensure that .depends.cfgs 41# at the time that they run. we must ensure that .depends.cfgs
42# is built and included by the time we reach this point. 42# is built and included by the time we reach this point.
43 43
44xconfig : 44xconfig :
45 $(call descend,scripts/kconfig,qconf) 45 $(call descend,scripts/kconfig,qconf)
46 LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \ 46 LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \
@@ -75,20 +75,16 @@ defconfig :
75 ./scripts/kconfig/conf -d ./config.in 75 ./scripts/kconfig/conf -d ./config.in
76 76
77 77
78ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean)
79-include $(TOPDIR)/.config 78-include $(TOPDIR)/.config
80endif
81ifeq ($(shell if [ -e $(TOPDIR)/..config.cmd ]; then echo exists; fi),exists)
82-include $(TOPDIR)/..config.cmd 79-include $(TOPDIR)/..config.cmd
83endif
84ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean)
85-include $(TOPDIR)/.depends 80-include $(TOPDIR)/.depends
86endif
87 81
88export QMAKESPEC=$(QMAKESPECSDIR)/qws/$(patsubst "%",%,$(CONFIG_SPECFILE)) 82export QMAKESPEC=$(QMAKESPECSDIR)/qws/$(patsubst "%",%,$(CONFIG_SPECFILE))
89 83
90all : $(subdir-y) 84all clean: $(subdir-y)
85
86$(subdir-y) : $(TOPDIR)/stamp-headers $(TOPDIR)/library/custom.h
91 87
92$(subdir-y) : $(TOPDIR)/stamp-headers 88clean : $(TOPDIR)/.config
93 89
94include $(TOPDIR)/Rules.make 90include $(TOPDIR)/Rules.make