All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Christopher Larson <chris_larson@mentor.com>
Subject: Re: [meta-oe][PATCH] lmbench: if a machine config file exists, install it
Date: Tue, 19 Aug 2014 14:07:40 +0200	[thread overview]
Message-ID: <20140819120740.GR3660@jama> (raw)
In-Reply-To: <1408448964-11764-1-git-send-email-yasir_khan@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

On Tue, Aug 19, 2014 at 04:49:24PM +0500, Yasir-Khan wrote:
> Signed-off-by: Christopher Larson <chris_larson@mentor.com>
> Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
> ---
>  .../recipes-benchmark/lmbench/lmbench_3.0-a9.bb    |    7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
> index 41db150..a3873a6 100644
> --- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
> +++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
> @@ -60,6 +60,13 @@ do_install () {
>             ${D}${bindir}/lmbench-run
>      install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
>      install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts
> +
> +    # If the machine installs a config file, install it to the appropriate place
> +    if [ -f ${WORKDIR}/CONFIG.${MACHINE} ]; then
> +        install -D 0644 ${WORKDIR}/CONFIG.${MACHINE} \
> +                        ${D}/${datadir}/lmbench/bin/${TARGET_PREFIX}/CONFIG.${MACHINE}
> +    fi

that makes lmbench MACHINE_ARCH and PACKAGE_ARCH isn't set that way.

>  
>  pkg_postinst_${PN} () {
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-08-19 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 11:49 [meta-oe][PATCH] lmbench: if a machine config file exists, install it Yasir-Khan
2014-08-19 12:07 ` Martin Jansa [this message]
2014-08-22 20:16   ` Christopher Larson
2014-08-22 21:09     ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140819120740.GR3660@jama \
    --to=martin.jansa@gmail.com \
    --cc=chris_larson@mentor.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.