[poky] [PATCH] qt4-tools-nativesdk: -arch is required for nativesdk build

Saul Wold sgw at linux.intel.com
Fri May 13 15:35:29 PDT 2011


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 at 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!



More information about the poky mailing list