author | kergoth <kergoth> | 2002-11-05 20:23:45 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-05 20:23:45 (UTC) |
commit | 8e8ffc20d1699ba678d380f25e08424492f7d8ab (patch) (unidiff) | |
tree | 7a9241f6706a35e8885614d5f0f509622b1eabe4 /Makefile.test | |
parent | 8eda06d13cf3eacf986cf1ab32c884c64ee972ae (diff) | |
download | opie-8e8ffc20d1699ba678d380f25e08424492f7d8ab.zip opie-8e8ffc20d1699ba678d380f25e08424492f7d8ab.tar.gz opie-8e8ffc20d1699ba678d380f25e08424492f7d8ab.tar.bz2 |
Use stampfile to ensure header symlinks are in place
-rw-r--r-- | Makefile.test | 5 |
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 | |||
25 | clean-configs : $(TOPDIR)/.depends.cfgs | 25 | clean-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 | ||
31 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) | 31 | all 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 | ||
45 | xconfig : | 45 | xconfig : |
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 | ||
49 | menuconfig : scripts/lxdialog/lxdialog | 49 | menuconfig : 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 | ||
53 | config : | 53 | config : |
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 | ||
57 | oldconfig : | 57 | oldconfig : |
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 | ||
61 | randconfig : | 61 | randconfig : |
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 | ||
65 | allyesconfig : | 65 | allyesconfig : |
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 | ||
69 | allnoconfig : | 69 | allnoconfig : |
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 | ||
73 | defconfig : | 73 | defconfig : |
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 | ||
78 | ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean) | 78 | ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean) |
79 | -include $(TOPDIR)/.config | 79 | -include $(TOPDIR)/.config |
80 | endif | 80 | endif |
81 | ifeq ($(shell if [ -e $(TOPDIR)/..config.cmd ]; then echo exists; fi),exists) | 81 | ifeq ($(shell if [ -e $(TOPDIR)/..config.cmd ]; then echo exists; fi),exists) |
82 | -include $(TOPDIR)/..config.cmd | 82 | -include $(TOPDIR)/..config.cmd |
83 | endif | 83 | endif |
84 | ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean) | 84 | ifeq ($(if $(filter clean%,$(MAKECMDGOALS)),clean,notclean),notclean) |
85 | -include $(TOPDIR)/.depends | 85 | -include $(TOPDIR)/.depends |
86 | endif | 86 | endif |
87 | 87 | ||
88 | all : $(subdir-y) | 88 | all : $(subdir-y) |
89 | 89 | ||
90 | $(subdir-y) : $(TOPDIR)/stamp-headers | ||
91 | |||
92 | |||
90 | include $(TOPDIR)/Rules.make | 93 | include $(TOPDIR)/Rules.make |