[oe] [PATCH] libsdl-native: Convert to new style staging, remove do_stage

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Mon Sep 6 12:34:43 UTC 2010


2010/9/6 Noor Ahsan <noor_ahsan at mentor.com>:
> * Remove do_stage ()
> * Replace tabs with 8 spaces in do_configure
> * Bump INC_PR = "r3"
>
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
> ---
>  recipes/libsdl/libsdl-native.inc |   18 +++++++-----------
>  1 files changed, 7 insertions(+), 11 deletions(-)
>
> diff --git a/recipes/libsdl/libsdl-native.inc b/recipes/libsdl/libsdl-native.inc
> index 783797a..faae90c 100644
> --- a/recipes/libsdl/libsdl-native.inc
> +++ b/recipes/libsdl/libsdl-native.inc
> @@ -2,7 +2,7 @@ DESCRIPTION = "Simple DirectMedia Layer - native Edition"
>  HOMEPAGE = "http://www.libsdl.org"
>  SECTION = "libs"
>  LICENSE = "LGPL"
> -INC_PR = "r2"
> +INC_PR = "r3"
>
>  SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
>  "
> @@ -23,15 +23,11 @@ EXTRA_OECONF = "--disable-debug --disable-cdrom --enable-threads --enable-timers
>                 --disable-video-picogui --disable-video-qtopia --enable-dlopen"
>
>  do_configure() {
> -       gnu-configize
> -       oe_runconf
> -       cd ${S}
> -       # prevent libtool from linking libs against libstdc++, libgcc, ...
> -       cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
> -       mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
> +        gnu-configize
> +        oe_runconf
> +        cd ${S}
> +        # prevent libtool from linking libs against libstdc++, libgcc, ...
> +        cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
> +        mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
>  }
>
> -do_stage() {
> -       autotools_stage_all
> -       install -m 0644 build/libSDLmain.a ${STAGING_LIBDIR}
> -}

when you build is tlibSDLmain.a still moved to staging ?

Frans




More information about the Openembedded-devel mailing list