[oe] [PATCH 3/3] gst-ffmpeg: remove 4-year old hack that sets CC directly

Tom Rini tom_rini at mentor.com
Fri Feb 25 01:22:22 UTC 2011


On 02/24/2011 04:39 PM, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko<denys at ti.com>
>
> The hack that sets CC variable directly is 4 year old and no longer required.
> On the other hand, it now breaks setups when --sysroot needs to be passed to
> the toolchain. Hence, remove the hack.
>
> Signed-off-by: Denys Dmytriyenko<denys at ti.com>

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

> ---
>   recipes/gstreamer/gst-ffmpeg_0.10.11.bb |    6 ++----
>   1 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/recipes/gstreamer/gst-ffmpeg_0.10.11.bb b/recipes/gstreamer/gst-ffmpeg_0.10.11.bb
> index 3a6533a..563521e 100644
> --- a/recipes/gstreamer/gst-ffmpeg_0.10.11.bb
> +++ b/recipes/gstreamer/gst-ffmpeg_0.10.11.bb
> @@ -5,6 +5,8 @@ LICENSE = "LGPL"
>   HOMEPAGE = "http://www.gstreamer.net/"
>   DEPENDS = "ffmpeg gstreamer gst-plugins-base zlib"
>
> +PR = "r1"
> +
>   inherit autotools pkgconfig
>
>   SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \
> @@ -23,7 +25,3 @@ EXTRA_OECONF = " --with-system-ffmpeg "
>   # We do this because the install program is called with -s which causes it to
>   # call "strip" and it then mangles cross compiled stuff..
>   PATH_prepend := "${TOOLCHAIN_PATH}/${TARGET_SYS}/bin:"
> -
> -# Hack to get STAGING_LIBDIR into the linker path when building ffmpeg
> -CC = "${CCACHE} ${HOST_PREFIX}gcc ${TARGET_CC_ARCH} -L${STAGING_LIBDIR}"
> -


-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list