All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qt4-tools-nativesdk: -arch is required for nativesdk build
@ 2011-05-12 18:11 Ilya Yanok
  2011-05-13 22:35 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Ilya Yanok @ 2011-05-12 18:11 UTC (permalink / raw)
  To: poky; +Cc: Ilya Yanok

We need to pass correct -arch option to configure to fix building in
case of SDK_ARCH != BUILD_ARCH.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
---
 meta/recipes-qt/qt4/qt4-tools-nativesdk.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
index f273c9f..5faf40c 100644
--- a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
+++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
@@ -25,6 +25,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
                     file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
                     file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
 
+require qt4_arch.inc
+
 # FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
 EXTRA_OECONF = "-prefix ${prefix} \
                 -qt-libjpeg -qt-gif -system-zlib \
@@ -37,6 +39,7 @@ EXTRA_OECONF = "-prefix ${prefix} \
                 -verbose -release -fast -static \
                 -platform ${TARGET_OS}-oe-g++ \
                 -xplatform ${TARGET_OS}-oe-g++ \
+                -arch ${@qt_arch(d)} \
                 -embedded -no-freetype -no-glib -no-iconv \
                 -qt3support \
                 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include \
-- 
1.7.4.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qt4-tools-nativesdk: -arch is required for nativesdk build
  2011-05-12 18:11 [PATCH] qt4-tools-nativesdk: -arch is required for nativesdk build Ilya Yanok
@ 2011-05-13 22:35 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2011-05-13 22:35 UTC (permalink / raw)
  To: Ilya Yanok; +Cc: poky

On 05/12/2011 11:11 AM, Ilya Yanok wrote:
> We need to pass correct -arch option to configure to fix building in
> case of SDK_ARCH != BUILD_ARCH.
>
> Signed-off-by: Ilya Yanok<yanok@emcraft.com>
> ---
>   meta/recipes-qt/qt4/qt4-tools-nativesdk.inc |    3 +++
>   1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
> index f273c9f..5faf40c 100644
> --- a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
> +++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
> @@ -25,6 +25,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
>                       file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
>                       file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
>
> +require qt4_arch.inc
> +
>   # FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
>   EXTRA_OECONF = "-prefix ${prefix} \
>                   -qt-libjpeg -qt-gif -system-zlib \
> @@ -37,6 +39,7 @@ EXTRA_OECONF = "-prefix ${prefix} \
>                   -verbose -release -fast -static \
>                   -platform ${TARGET_OS}-oe-g++ \
>                   -xplatform ${TARGET_OS}-oe-g++ \
> +                -arch ${@qt_arch(d)} \
>                   -embedded -no-freetype -no-glib -no-iconv \
>                   -qt3support \
>                   -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include \

Merged to oe-core and poky/master.

In the future please send changes that are meta (oe-core) to the oe-core 
alias only, no need to cross-post.

Thanks
	Sau!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-13 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 18:11 [PATCH] qt4-tools-nativesdk: -arch is required for nativesdk build Ilya Yanok
2011-05-13 22:35 ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.