All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <tom_rini@mentor.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH 2/3] ffmpeg: pass --sysroot to configure script directly
Date: Thu, 24 Feb 2011 18:22:12 -0700	[thread overview]
Message-ID: <4D670444.2010207@mentor.com> (raw)
In-Reply-To: <1298590758-8843-2-git-send-email-denis@denix.org>

On 02/24/2011 04:39 PM, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko<denys@ti.com>
>
> ffmpeg's custom configure script fails some checks for specific headers, even
> though we pass --sysroot through CFLAGS. Use configure's specific --sysroot
> option to fix that.
>
> Signed-off-by: Denys Dmytriyenko<denys@ti.com>

Acked-by: Tom Rini <tom_rini@mentor.com>

> ---
>   recipes/ffmpeg/ffmpeg_0.5.bb   |    3 ++-
>   recipes/ffmpeg/ffmpeg_0.6.1.bb |    3 ++-
>   recipes/ffmpeg/ffmpeg_git.bb   |    3 ++-
>   3 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/recipes/ffmpeg/ffmpeg_0.5.bb b/recipes/ffmpeg/ffmpeg_0.5.bb
> index f3a6d21..623c369 100644
> --- a/recipes/ffmpeg/ffmpeg_0.5.bb
> +++ b/recipes/ffmpeg/ffmpeg_0.5.bb
> @@ -2,7 +2,7 @@ require ffmpeg.inc
>
>   DEPENDS += "schroedinger libgsm"
>
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
>
>   DEFAULT_PREFERENCE = "1"
>
> @@ -47,6 +47,7 @@ EXTRA_OECONF = " \
>           --enable-cross-compile \
>           --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
>           --extra-ldflags="${TARGET_LDFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
> +        --sysroot="${STAGING_DIR_TARGET}" \
>           --enable-hardcoded-tables \
>           ${EXTRA_FFCONF} \
>   "
> diff --git a/recipes/ffmpeg/ffmpeg_0.6.1.bb b/recipes/ffmpeg/ffmpeg_0.6.1.bb
> index fb941a5..74a1161 100644
> --- a/recipes/ffmpeg/ffmpeg_0.6.1.bb
> +++ b/recipes/ffmpeg/ffmpeg_0.6.1.bb
> @@ -2,7 +2,7 @@ require ffmpeg.inc
>
>   LICENSE = "LGPLv2.1+"
>   DEPENDS += "schroedinger libgsm"
> -PR = "${INC_PR}.0"
> +PR = "${INC_PR}.1"
>
>   SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
>   SRC_URI[md5sum] = "4f5d732d25eedfb072251b5314ba2093"
> @@ -26,6 +26,7 @@ EXTRA_OECONF = " \
>           --enable-swscale \
>           --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
>           --extra-ldflags="${TARGET_LDFLAGS}" \
> +        --sysroot="${STAGING_DIR_TARGET}" \
>           --prefix=${prefix}/ \
>           --target-os=linux \
>           ${EXTRA_FFCONF} \
> diff --git a/recipes/ffmpeg/ffmpeg_git.bb b/recipes/ffmpeg/ffmpeg_git.bb
> index 27e88ea..24c81ea 100644
> --- a/recipes/ffmpeg/ffmpeg_git.bb
> +++ b/recipes/ffmpeg/ffmpeg_git.bb
> @@ -6,7 +6,7 @@ DEPENDS += "virtual/libsdl schroedinger libgsm libvpx"
>   SRCREV = "a4f5af13fb00d7f55946470bb0f52e1dbf5f3c6a"
>
>   PV = "0.6.1+${PR}+gitr${SRCPV}"
> -PR = "${INC_PR}.0"
> +PR = "${INC_PR}.1"
>
>   DEFAULT_PREFERENCE = "-1"
>   DEFAULT_PREFERENCE_angstrom = "1"
> @@ -47,6 +47,7 @@ EXTRA_OECONF = " \
>           --enable-cross-compile \
>           --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
>           --extra-ldflags="${TARGET_LDFLAGS}" \
> +        --sysroot="${STAGING_DIR_TARGET}" \
>           --enable-hardcoded-tables \
>           ${EXTRA_FFCONF} \
>   "


-- 
Tom Rini
Mentor Graphics Corporation



  reply	other threads:[~2011-02-25  1:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22  1:14 [PATCH 0/1] bitbake.conf: Simplify TARGET_CPPFLAGS/LDFLAGS Tom Rini
2011-02-22  1:14 ` [PATCH] " Tom Rini
2011-02-22  6:21   ` Khem Raj
2011-02-24  4:37     ` Denys Dmytriyenko
2011-02-24 15:57       ` Tom Rini
2011-02-24 16:47         ` Tom Rini
2011-02-24 23:39           ` [PATCH 1/3] bitbake.conf, native*.bbclass: pass --sysroot to TOOLCHAIN_OPTIONS Denys Dmytriyenko
2011-02-24 23:39             ` [PATCH 2/3] ffmpeg: pass --sysroot to configure script directly Denys Dmytriyenko
2011-02-25  1:22               ` Tom Rini [this message]
2011-02-24 23:39             ` [PATCH 3/3] gst-ffmpeg: remove 4-year old hack that sets CC directly Denys Dmytriyenko
2011-02-25  1:22               ` Tom Rini
2011-02-25  9:26               ` Koen Kooi
2011-02-25  1:21             ` [PATCH 1/3] bitbake.conf, native*.bbclass: pass --sysroot to TOOLCHAIN_OPTIONS Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D670444.2010207@mentor.com \
    --to=tom_rini@mentor.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.