[oe] [PATCH] gawk-native_3.1.4.bb: Removed legacy style staging
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Wed Aug 18 08:40:48 UTC 2010
2010/8/18 Fahad Usman <fahad_usman at mentor.com>:
> * converted do_stage to do_install
>
> * replaced ${STAGING_BINDIR} with ${D}${bindir}
>
> * added NATIVE_INSTALL_WORKS = "1"
>
> * added PR = "r1"
>
> Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
> ---
> recipes/gawk/gawk-native_3.1.4.bb | 9 ++++++---
> 1 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/recipes/gawk/gawk-native_3.1.4.bb b/recipes/gawk/gawk-native_3.1.4.bb
> index 0a33f71..67d254c 100644
> --- a/recipes/gawk/gawk-native_3.1.4.bb
> +++ b/recipes/gawk/gawk-native_3.1.4.bb
> @@ -1,5 +1,8 @@
> INHIBIT_AUTOTOOLS_DEPS = "1"
> require gawk_${PV}.bb
> +PR = "r1"
> +
> +NATIVE_INSTALL_WORKS = "1"
>
> inherit native
>
> @@ -8,7 +11,7 @@ PATCHTOOL = "patch"
>
> S = "${WORKDIR}/gawk-${PV}"
>
> -do_stage() {
> - install -d ${STAGING_BINDIR}
> - install -m 755 gawk ${STAGING_BINDIR}
> +do_install() {
> + install -d ${D}${bindir}
> + install -m 755 gawk ${D}${bindir}
> }
> --
I suggest to merge this with the non-native recipe.
Also I feel that the default do_install should work here, so a
specific do_install seems not needed (it is an autotools recipe).
Frans
More information about the Openembedded-devel
mailing list