summaryrefslogtreecommitdiff
path: root/Makefile.test
authorkergoth <kergoth>2002-11-05 20:23:45 (UTC)
committer kergoth <kergoth>2002-11-05 20:23:45 (UTC)
commit8e8ffc20d1699ba678d380f25e08424492f7d8ab (patch) (unidiff)
tree7a9241f6706a35e8885614d5f0f509622b1eabe4 /Makefile.test
parent8eda06d13cf3eacf986cf1ab32c884c64ee972ae (diff)
downloadopie-8e8ffc20d1699ba678d380f25e08424492f7d8ab.zip
opie-8e8ffc20d1699ba678d380f25e08424492f7d8ab.tar.gz
opie-8e8ffc20d1699ba678d380f25e08424492f7d8ab.tar.bz2
Use stampfile to ensure header symlinks are in place
Diffstat (limited to 'Makefile.test') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.test b/Makefile.test
index 122e555..6753ee1 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -25,66 +25,69 @@ all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defc
25clean-configs : $(TOPDIR)/.depends.cfgs 25clean-configs : $(TOPDIR)/.depends.cfgs
26 @echo "Wiping generated config.in files..." 26 @echo "Wiping generated config.in files..."
27 @-rm -f $(configs) 27 @-rm -f $(configs)
28 28
29-include $(TOPDIR)/.depends.cfgs 29-include $(TOPDIR)/.depends.cfgs
30 30
31all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) 31all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs)
32 32
33$(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs) 33$(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs)
34 $(call descend,scripts/kconfig,conf) 34 $(call descend,scripts/kconfig,conf)
35 @if [ ! -e $@ ]; then \ 35 @if [ ! -e $@ ]; then \
36 cp $(TOPDIR)/def-configs/opie $@; \ 36 cp $(TOPDIR)/def-configs/opie $@; \
37 fi; 37 fi;
38 @$(MAKE) -C scripts/kconfig conf; 38 @$(MAKE) -C scripts/kconfig conf;
39 ./scripts/kconfig/conf -s ./config.in 39 ./scripts/kconfig/conf -s ./config.in
40 40
41# config rules must have the $(configs) var defined 41# config rules must have the $(configs) var defined
42# at the time that they run. we must ensure that .depends.cfgs 42# at the time that they run. we must ensure that .depends.cfgs
43# is built and included by the time we reach this point. 43# is built and included by the time we reach this point.
44 44
45xconfig : 45xconfig :
46 $(call descend,scripts/kconfig,qconf) 46 $(call descend,scripts/kconfig,qconf)
47 ./scripts/kconfig/qconf ./config.in 47 ./scripts/kconfig/qconf ./config.in
48 48
49menuconfig : scripts/lxdialog/lxdialog 49menuconfig : scripts/lxdialog/lxdialog
50 $(call descend,scripts/kconfig,mconf) 50 $(call descend,scripts/kconfig,mconf)
51 ./scripts/kconfig/mconf ./config.in 51 ./scripts/kconfig/mconf ./config.in
52 52
53config : 53config :
54 $(call descend,scripts/kconfig,conf) 54 $(call descend,scripts/kconfig,conf)
55 ./scripts/kconfig/conf ./config.in 55 ./scripts/kconfig/conf ./config.in
56 56
57oldconfig : 57oldconfig :
58 $(call descend,scripts/kconfig,conf) 58 $(call descend,scripts/kconfig,conf)
59 ./scripts/kconfig/conf -o ./config.in 59 ./scripts/kconfig/conf -o ./config.in
60 60
61randconfig : 61randconfig :
62 $(call descend,scripts/kconfig,conf) 62 $(call descend,scripts/kconfig,conf)
63 ./scripts/kconfig/conf -r ./config.in 63 ./scripts/kconfig/conf -r ./config.in
64 64
65allyesconfig : 65allyesconfig :
66 $(call descend,scripts/kconfig,conf) 66 $(call descend,scripts/kconfig,conf)
67 ./scripts/kconfig/conf -y ./config.in 67 ./scripts/kconfig/conf -y ./config.in
68 68
69allnoconfig : 69allnoconfig :
70 $(call descend,scripts/kconfig,conf) 70 $(call descend,scripts/kconfig,conf)
71 ./scripts/kconfig/conf -n ./config.in 71 ./scripts/kconfig/conf -n ./config.in
72 72
73defconfig : 73defconfig :
74 $(call descend,scripts/kconfig,conf) 74 $(call descend,scripts/kconfig,conf)
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) 78ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean)
79-include $(TOPDIR)/.config 79-include $(TOPDIR)/.config
80endif 80endif
81ifeq ($(shell if [ -e $(TOPDIR)/..config.cmd ]; then echo exists; fi),exists) 81ifeq ($(shell if [ -e $(TOPDIR)/..config.cmd ]; then echo exists; fi),exists)
82-include $(TOPDIR)/..config.cmd 82-include $(TOPDIR)/..config.cmd
83endif 83endif
84ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean) 84ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean)
85-include $(TOPDIR)/.depends 85-include $(TOPDIR)/.depends
86endif 86endif
87 87
88all : $(subdir-y) 88all : $(subdir-y)
89 89
90$(subdir-y) : $(TOPDIR)/stamp-headers
91
92
90include $(TOPDIR)/Rules.make 93include $(TOPDIR)/Rules.make