-rw-r--r-- | Makefile.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.test b/Makefile.test index 11fec40..209eef3 100644 --- a/Makefile.test +++ b/Makefile.test | |||
@@ -81,25 +81,31 @@ defconfig : | |||
81 | 81 | ||
82 | export | 82 | export |
83 | 83 | ||
84 | ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) | 84 | ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) |
85 | 85 | ||
86 | export include-config := 1 | 86 | export include-config := 1 |
87 | 87 | ||
88 | -include $(TOPDIR)/.config | 88 | -include $(TOPDIR)/.config |
89 | -include $(TOPDIR)/.depends | 89 | -include $(TOPDIR)/.depends |
90 | 90 | ||
91 | endif | 91 | endif |
92 | 92 | ||
93 | -include $(TOPDIR)/..config.cmd | 93 | -include $(TOPDIR)/..config.cmd |
94 | 94 | ||
95 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) | 95 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) |
96 | 96 | ||
97 | ifdef CONFIG_OPTIMIZATIONS | ||
98 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) | ||
99 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) | ||
100 | $(warning CFLAGS_RELEASE is $(CFLAGS_RELEASE)) | ||
101 | endif | ||
102 | |||
97 | all clean: $(subdir-y) | 103 | all clean: $(subdir-y) |
98 | 104 | ||
99 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(TOPDIR)/stamp-headers) \ | 105 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(TOPDIR)/stamp-headers) \ |
100 | $(if $(CONFIG_LIBQPE-X11),$(TOPDIR)/stamp-headers-x11) \ | 106 | $(if $(CONFIG_LIBQPE-X11),$(TOPDIR)/stamp-headers-x11) \ |
101 | $(TOPDIR)/library/custom.h | 107 | $(TOPDIR)/library/custom.h |
102 | 108 | ||
103 | clean : $(TOPDIR)/.config | 109 | clean : $(TOPDIR)/.config |
104 | 110 | ||
105 | include $(TOPDIR)/Rules.make | 111 | include $(TOPDIR)/Rules.make |