From ca87617ed4ba05a2ee1428616d1758ac6a05a26f Mon Sep 17 00:00:00 2001
From: Eckhart Koppen <eckhart.koppen@nokia.com>
Date: Tue, 4 Jan 2011 16:34:27 +0200
Subject: Fixed broken configuration step for Symbian builds

Non-existing exports were removed, and errors caused by whitespace
conversion in the FLM used for configuration were corrected.

Reviewed-by: TrustMe
---
 config.profiles/symbian/bld.inf      |  9 ++-----
 config.profiles/symbian/qtconfig.flm | 46 ++++++++++++++++++------------------
 2 files changed, 25 insertions(+), 30 deletions(-)

diff --git a/config.profiles/symbian/bld.inf b/config.profiles/symbian/bld.inf
index d3958dd..d2d959b 100644
--- a/config.profiles/symbian/bld.inf
+++ b/config.profiles/symbian/bld.inf
@@ -34,11 +34,13 @@ environment.prf /epoc32/tools/qt/mkspecs/features/environment.prf
 //for loc
 loc.prf                  /epoc32/tools/qt/mkspecs/features/loc.prf
 
+#ifdef FF_QT_IN_UDA
 //For UDA image
 confml/qt.confml                  CONFML_EXPORT_PATH(qt.confml,uda_content)
 implml/qt_copy.implml             CRML_EXPORT_PATH(qt_copy.implml,uda_content)
 content/apps/qt.sisx               CRML_EXPORT_PATH(../content/sis/,uda_content)
 content/apps/qt_stub.sis          /epoc32/data/z/system/install/qt_stub.sis
+#endif
 
 //tools
 ../../bin/createpackage.bat         /epoc32/tools/createpackage.bat
@@ -73,13 +75,6 @@ translations/qt_zh_tw_symbian.ts /epoc32/include/platform/qt/translations/qt_zh_
 ../../translations/qt_sv.ts /epoc32/include/platform/qt/translations/
 ../../translations/qt_uk.ts /epoc32/include/platform/qt/translations/
 
-
-PRJ_MMPFILES
-
-
-PRJ_TESTMMPFILES
-
-
 PRJ_EXTENSIONS
 START EXTENSION qt/qtconfig
 OPTION QT_ROOT ..
diff --git a/config.profiles/symbian/qtconfig.flm b/config.profiles/symbian/qtconfig.flm
index 61ee6e6..03f860f 100644
--- a/config.profiles/symbian/qtconfig.flm
+++ b/config.profiles/symbian/qtconfig.flm
@@ -33,38 +33,38 @@ $(TARGET_TOOLS): $(QT_TOOLS)
 else
 $(TARGET_TOOLS): $(SOURCEDIR)/qmake$(DOTEXE)
 endif
-    $(call startrule,qtconf_deploy) \
-    $(GNUCP) $(SOURCEDIR)/$$(notdir $$@) $$@ \
-    $(call endrule,qtconf_deploy)
+	$(call startrule,qtconf_deploy) \
+	$(GNUCP) $(SOURCEDIR)/$$(notdir $$@) $$@ \
+	$(call endrule,qtconf_deploy)
 
 ifneq ($(filter linux,$(HOSTPLATFORM)),)
 $(QT_TOOLS): $(TOOLSSRCDIR)/bootstrap
-    $(call startrule,qtconf_tools_build) \
-    cd $$@; \
-    $(GNUMAKE38); \
-    cd .. \
-    $(call endrule,qtconf_tools_build)
+	$(call startrule,qtconf_tools_build) \
+	cd $$@; \
+	$(GNUMAKE38); \
+	cd .. \
+	$(call endrule,qtconf_tools_build)
 
 $(TOOLSSRCDIR)/bootstrap:$(SOURCEDIR)/qmake$(DOTEXE)
-    $(call startrule,qtconf_bootstrap_build) \
-    cd $(TOOLSSRCDIR)/bootstrap; \
-    $(GNUMAKE38); \
-    cd .. \
-    $(call endrule,qtconf_bootstrap_build)
+	$(call startrule,qtconf_bootstrap_build) \
+	cd $(TOOLSSRCDIR)/bootstrap; \
+	$(GNUMAKE38); \
+	cd .. \
+	$(call endrule,qtconf_bootstrap_build)
 endif
 
 
 $(SOURCEDIR)/qmake$(DOTEXE): $(EXTENSION_ROOT)/$(QT_ROOT)/$(CONFIGURE_APP)
-    $(call startrule,qtconf) \
-    cd $(EXTENSION_ROOT)/$(QT_ROOT) && unset INCLUDE && unset LIB && $(EXTENSION_ROOT)/$(QT_ROOT)/$(CONFIGURE_APP) -platform $(PLATFORM) -xplatform $(XPLATFORM) $(OPTIONS) \
-    $(call endrule,qtconf)
-    $(call startrule,headerexport) \
-    cd $(EXTENSION_ROOT)/$(QT_ROOT)/config.profiles/symbian && \
-    perl headerexport -base-dir $(EXTENSION_ROOT)/$(QT_ROOT) -copy -oneway -outdir $(EPOCROOT)/epoc32/include/ -outsubdir mw
-    $(call endrule,headerexport)
-    $(call startrule,mkspecexport) \
-    $(GNUCP) -R $(EXTENSION_ROOT)/$(QT_ROOT)/mkspecs $(MKSPECDIR)
-    $(call endrule,mkspecexport)
+	$(call startrule,qtconf) \
+	cd $(EXTENSION_ROOT)/$(QT_ROOT) && unset INCLUDE && unset LIB && $(EXTENSION_ROOT)/$(QT_ROOT)/$(CONFIGURE_APP) -platform $(PLATFORM) -xplatform $(XPLATFORM) $(OPTIONS) \
+	$(call endrule,qtconf)
+	$(call startrule,headerexport) \
+	cd $(EXTENSION_ROOT)/$(QT_ROOT)/config.profiles/symbian && \
+	perl headerexport -base-dir $(EXTENSION_ROOT)/$(QT_ROOT) -copy -oneway -outdir $(EPOCROOT)/epoc32/include/ -outsubdir mw
+	$(call endrule,headerexport)
+	$(call startrule,mkspecexport) \
+	$(GNUCP) -R $(EXTENSION_ROOT)/$(QT_ROOT)/mkspecs $(MKSPECDIR)
+	$(call endrule,mkspecexport)
 endef
 
 # Here a variable named "done_<sanitised $SISFILE>" gets created
-- 
cgit v0.12