diff options
author | Yu Ke <ke.yu@intel.com> | 2010-08-25 11:12:59 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 13:29:51 +0100 |
commit | 46bdf066a442e3f8c4d3edefa8d0f8a9908361cb (patch) | |
tree | 10fe121935b1718d36212dd9da9ffb181573e96a /meta-lsb/packages/qt4/files/0001-cross-compile.patch | |
parent | 51e05bbe6c4c78a59114a9197dfd0457506d089c (diff) | |
download | openembedded-core-46bdf066a442e3f8c4d3edefa8d0f8a9908361cb.tar.gz openembedded-core-46bdf066a442e3f8c4d3edefa8d0f8a9908361cb.tar.bz2 openembedded-core-46bdf066a442e3f8c4d3edefa8d0f8a9908361cb.zip |
qt4 core lib: add qt4 core library x11 version.
QT is a comprehensive cross-platform C++ application framework. this commit add QT4 library compiled with X11 options.
The code is ported from OE version, with following changes:
- remove the obsolate configure options, e.g. -embedded, -qdbus, etc
- remove the poky unsupported configuree option, e.g. mysql, postgresql etc
- revise the arch detection func, to support powerpc, x86_64
- other format cleanup
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'meta-lsb/packages/qt4/files/0001-cross-compile.patch')
-rw-r--r-- | meta-lsb/packages/qt4/files/0001-cross-compile.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-lsb/packages/qt4/files/0001-cross-compile.patch b/meta-lsb/packages/qt4/files/0001-cross-compile.patch new file mode 100644 index 0000000000..053be06e54 --- /dev/null +++ b/meta-lsb/packages/qt4/files/0001-cross-compile.patch @@ -0,0 +1,36 @@ +Add configure option "crossarch" for cross compiling + +Ported from OE by: Yu Ke <ke.yu@intel.com> + +Index: qt-embedded-linux-opensource-src-4.4.3/configure +=================================================================== +--- qt-embedded-linux-opensource-src-4.4.3.orig/configure 2009-03-26 17:02:45.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.4.3/configure 2009-03-26 17:03:43.000000000 +0100 +@@ -726,7 +726,7 @@ + UNKNOWN_ARG=yes + fi + ;; +- -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config) ++ -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-crossarch) + VAR=`echo $1 | sed "s,^-\(.*\),\1,"` + shift + VAL="$1" +@@ -1143,6 +1143,9 @@ + xplatform) + XPLATFORM="$VAL" + ;; ++ crossarch) ++ CROSSARCH="$VAL" ++ ;; + debug-and-release) + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then + CFG_DEBUG_RELEASE="$VAL" +@@ -2405,6 +2408,8 @@ + CFG_ARCH=$CFG_HOST_ARCH + fi + ++CFG_ARCH="$CROSSARCH" ++ + if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then + if [ "$OPT_VERBOSE" = "yes" ]; then + echo " '$CFG_ARCH' is supported" |