diff options
Diffstat (limited to 'recipes-qt/qt4/files/0001-cross-compile.patch')
| -rw-r--r-- | recipes-qt/qt4/files/0001-cross-compile.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-qt/qt4/files/0001-cross-compile.patch b/recipes-qt/qt4/files/0001-cross-compile.patch new file mode 100644 index 0000000000..0cf1b8c304 --- /dev/null +++ b/recipes-qt/qt4/files/0001-cross-compile.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | Index: qt-embedded-linux-opensource-src-4.4.3/configure | ||
| 2 | =================================================================== | ||
| 3 | --- qt-embedded-linux-opensource-src-4.4.3.orig/configure 2009-03-26 17:02:45.000000000 +0100 | ||
| 4 | +++ qt-embedded-linux-opensource-src-4.4.3/configure 2009-03-26 17:03:43.000000000 +0100 | ||
| 5 | @@ -726,7 +726,7 @@ | ||
| 6 | UNKNOWN_ARG=yes | ||
| 7 | fi | ||
| 8 | ;; | ||
| 9 | - -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config) | ||
| 10 | + -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-crossarch) | ||
| 11 | VAR=`echo $1 | sed "s,^-\(.*\),\1,"` | ||
| 12 | shift | ||
| 13 | VAL="$1" | ||
| 14 | @@ -1143,6 +1143,9 @@ | ||
| 15 | xplatform) | ||
| 16 | XPLATFORM="$VAL" | ||
| 17 | ;; | ||
| 18 | + crossarch) | ||
| 19 | + CROSSARCH="$VAL" | ||
| 20 | + ;; | ||
| 21 | debug-and-release) | ||
| 22 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
| 23 | CFG_DEBUG_RELEASE="$VAL" | ||
| 24 | @@ -2405,6 +2408,8 @@ | ||
| 25 | CFG_ARCH=$CFG_HOST_ARCH | ||
| 26 | fi | ||
| 27 | |||
| 28 | +CFG_ARCH="$CROSSARCH" | ||
| 29 | + | ||
| 30 | if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then | ||
| 31 | if [ "$OPT_VERBOSE" = "yes" ]; then | ||
| 32 | echo " '$CFG_ARCH' is supported" | ||
