[oe] [PATCH][meta-oe] lmbench: Added 3.0-a9 version recipe files

Tom Rini tom.rini at gmail.com
Mon Aug 22 17:13:01 UTC 2011


On Mon, Aug 22, 2011 at 9:32 AM, Noor, Ahsan <noor_ahsan at mentor.com> wrote:
> From: Noor Ahsan <noor_ahsan at mentor.com>
>
> * Added recipe file to build 3.0-a9 version.
>
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
> ---
>  .../lmbench-3.0-a9/update-results-script.patch     |  155 ++++++++++++++++++++
>  meta-oe/recipes-support/lmbench/lmbench_3.0-a9.bb  |   75 ++++++++++
>  2 files changed, 230 insertions(+), 0 deletions(-)
>
> diff --git a/meta-oe/recipes-support/lmbench/lmbench-3.0-a9/update-results-script.patch b/meta-oe/recipes-support/lmbench/lmbench-3.0-a9/update-results-script.patch
> new file mode 100644
> index 0000000..3feb657
> --- /dev/null
> +++ b/meta-oe/recipes-support/lmbench/lmbench-3.0-a9/update-results-script.patch
> @@ -0,0 +1,155 @@
> +Now that we have our binaries in /usr/bin rather than the normal
> +lmbench hierarchy we need to update the scripts as well to bave well here.

There's now a defined patch header, please update to this.

> diff --git a/meta-oe/recipes-support/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-support/lmbench/lmbench_3.0-a9.bb
[snip]
> +python do_unpack () {
> +       bb.build.exec_func('base_do_unpack', d)
> +       bb.build.exec_func('byebk_do_unpack', d)
> +}
> +
> +byebk_do_unpack () {
> +       find ${S}/.. -name BitKeeper -o -name SCCS | xargs rm -rf
> +}

All of this, I believe, dates back to when OE was in BK and that could
be problematic, we should drop this now I think.

Thanks!

-- 
Tom




More information about the Openembedded-devel mailing list