[oe] [PATCH] cacaoh-native: Removed legacy style staging

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Tue Aug 17 12:02:53 UTC 2010


2010/8/17 Fahad Usman <fahad_usman at mentor.com>:
> * converted do_stage to do_install
>
> * replaced ${STAGING_BINDIR} with ${D}${bindir}
>
> * bumped the PR in the .bb files
>
> Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
> ---
>  recipes/cacao/cacaoh-native.inc       |    6 +++---
>  recipes/cacao/cacaoh-native_0.99.3.bb |    2 +-
>  recipes/cacao/cacaoh-native_0.99.4.bb |    2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/recipes/cacao/cacaoh-native.inc b/recipes/cacao/cacaoh-native.inc
> index a44c503..d255df4 100644
> --- a/recipes/cacao/cacaoh-native.inc
> +++ b/recipes/cacao/cacaoh-native.inc
> @@ -20,7 +20,7 @@ do_compile() {
>   oe_runmake -C src/vmcore libvmcore.la
>   oe_runmake -C src/cacaoh cacaoh
>  }
> -
> -do_stage() {
> -       install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-${PV}
> +do_install() {
> +       install -d ${D}${bindir}/cacaoh-${PV}
> +       install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV}
>  }
> diff --git a/recipes/cacao/cacaoh-native_0.99.3.bb b/recipes/cacao/cacaoh-native_0.99.3.bb
> index b3baee0..b321329 100644
> --- a/recipes/cacao/cacaoh-native_0.99.3.bb
> +++ b/recipes/cacao/cacaoh-native_0.99.3.bb
> @@ -1,6 +1,6 @@
>  require cacaoh-native.inc
>
> -PR = "r1"
> +PR = "r2"
>
>  SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
>
> diff --git a/recipes/cacao/cacaoh-native_0.99.4.bb b/recipes/cacao/cacaoh-native_0.99.4.bb
> index a9effc0..e269e43 100644
> --- a/recipes/cacao/cacaoh-native_0.99.4.bb
> +++ b/recipes/cacao/cacaoh-native_0.99.4.bb
> @@ -1,6 +1,6 @@
>  require cacaoh-native.inc
>
> -PR = "r0"
> +PR = "r1"
>
>  SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
>
> --
> 1.6.3.3

I think you need
NATIVE_INSTALL_WORKS = "1"
in your recipe.

When updating your patch please resubmit as v2 and update patchwork

Frans




More information about the Openembedded-devel mailing list