summaryrefslogtreecommitdiff
path: root/config.profiles
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-09-22 16:21:58 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2011-09-22 16:33:43 +0300
commitc6eac82ad48c3956a16cfa89105374003fc854d6 (patch)
tree4002dcfd9988f2a672c208712d92dc9fd757a1fd /config.profiles
parent7b0ad143af1f3246ff75b46d7cb57632e276f763 (diff)
downloadqt4-tools-c6eac82ad48c3956a16cfa89105374003fc854d6.tar.gz
Improve sbsv2 whatlog support.
All builds will now add anything generated via QMAKE_EXTRA_COMPILERS to whatlog. In addition, platform builds will now add to whatlog the exported mkspecs and qmake_clean.flm that were missing. Task-number: QTBUG-21591 Reviewed-by: Sami Merila
Diffstat (limited to 'config.profiles')
-rw-r--r--config.profiles/symbian/bld.inf1
-rw-r--r--config.profiles/symbian/qtconfig.flm12
2 files changed, 11 insertions, 2 deletions
diff --git a/config.profiles/symbian/bld.inf b/config.profiles/symbian/bld.inf
index 6ccb11c483..21b36140f7 100644
--- a/config.profiles/symbian/bld.inf
+++ b/config.profiles/symbian/bld.inf
@@ -19,6 +19,7 @@ qtconfig.flm /epoc32/tools/makefile_templates/qt/qtconfig.flm
../../mkspecs/symbian-sbsv2/flm/qt/qmake_extra_pre_targetdep.flm /epoc32/tools/makefile_templates/qt/
../../mkspecs/symbian-sbsv2/flm/qt/qmake_post_link.flm /epoc32/tools/makefile_templates/qt/
../../mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm /epoc32/tools/makefile_templates/qt/
+../../mkspecs/symbian-sbsv2/flm/qt/qmake_clean.flm /epoc32/tools/makefile_templates/qt/
../../mkspecs/symbian-sbsv2/flm/qt/qt.xml /epoc32/tools/makefile_templates/qt/
qt.conf /epoc32/tools/qt.conf
diff --git a/config.profiles/symbian/qtconfig.flm b/config.profiles/symbian/qtconfig.flm
index 56c3d6bc72..94f732a1f4 100644
--- a/config.profiles/symbian/qtconfig.flm
+++ b/config.profiles/symbian/qtconfig.flm
@@ -66,9 +66,10 @@ $(SOURCEDIR)/qmake$(DOTEXE): $(EXTENSION_ROOT)/$(QT_ROOT)/$(CONFIGURE_APP)
$(GNUCP) -R $(EXTENSION_ROOT)/$(QT_ROOT)/mkspecs $(MKSPECDIR)
$(call endrule,mkspecexport)
-WHAT::
+FINAL WHAT:: $(SOURCEDIR)/qmake$(DOTEXE)
$(call startrawoutput) \
echo "$(call whatLogOpen)"; \
+ cd $(EXTENSION_ROOT)/$(QT_ROOT)/config.profiles/symbian && \
perl headerexport -base-dir $(EXTENSION_ROOT)/$(QT_ROOT) -outdir $(EPOCROOT)/epoc32/include/ -what | \
(read -r LINE; \
while [ $$$$? -eq 0 ]; do \
@@ -76,7 +77,14 @@ WHAT::
read -r LINE; \
done; \
); \
- echo "$(call whatLogClose)" \
+ $(GNUFIND) $(EXTENSION_ROOT)/$(QT_ROOT)/mkspecs -type f | \
+ (read -r LINE; \
+ while [ $$$$? -eq 0 ]; do \
+ echo "$(call whatLogItem,,$$$$LINE)" | $(GNUSED) 's#$(EXTENSION_ROOT)/$(QT_ROOT)#$(MKSPECDIR)#'; \
+ read -r LINE; \
+ done; \
+ ); \
+ echo "$(call whatLogClose)"; \
$(call endrawoutput)
endef