[oe-commits] Paul Eggleton : qt4: split out SQL driver config flags to QT_SQL_DRIVER_FLAGS

git version control git at git.openembedded.org
Mon May 16 14:34:58 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 7f12a24771bca786095f823aeb2d322c52c266d2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7f12a24771bca786095f823aeb2d322c52c266d2

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Fri May 13 14:28:13 2011 +0100

qt4: split out SQL driver config flags to QT_SQL_DRIVER_FLAGS

This allows meta-oe to override these options easily in order to enable more
SQL driver plugins.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

---

 meta/recipes-qt/qt4/qt4.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index b86f89f..7e15b61 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -9,11 +9,13 @@ QT_ENDIAN = "${@qt_endian(d)}"
 QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm"
 QT_DISTRO_FLAGS_linuxstdbase = "-sm"
 
+QT_SQL_DRIVER_FLAGS ?= "-no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite"
+
 QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
                     -shared -no-nas-sound -no-nis \
                     -qt-gif -system-libjpeg -system-libpng -system-zlib \
-                    -no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite \
                     -no-pch -qdbus -stl -glib -phonon -webkit \
+                    ${QT_SQL_DRIVER_FLAGS} \
                     ${QT_DISTRO_FLAGS} "
 
 EXTRA_OEMAKE = "-e"





More information about the Openembedded-commits mailing list