Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] vim: Compile and provide xxd in package vim-xxd
Date: Tue, 29 Sep 2015 13:03:43 +0300	[thread overview]
Message-ID: <560A61FF.2070004@ni.com> (raw)
In-Reply-To: <1E25FC86-FE6A-4FE0-850F-620603B9FC3D@gmail.com>

On 28.09.2015 19:07, Khem Raj wrote:
>
>> On Sep 28, 2015, at 4:44 AM, Ioan-Adrian Ratiu <adrian.ratiu@ni.com> wrote:
>>
>> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
>> ---
>> meta-oe/recipes-support/vim/vim_7.4.481.bb | 10 +++++++++-
>> 1 file changed, 9 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-support/vim/vim_7.4.481.bb b/meta-oe/recipes-support/vim/vim_7.4.481.bb
>> index 2ece53b..fcd036b 100644
>> --- a/meta-oe/recipes-support/vim/vim_7.4.481.bb
>> +++ b/meta-oe/recipes-support/vim/vim_7.4.481.bb
>> @@ -59,6 +59,11 @@ EXTRA_OECONF = " \
>>      STRIP=/bin/true \
>> "
>>
>> +do_compile_append() {
>> +    cd "${S}/xxd"
>> +    make
>
> why not oe_runmake ?

I did some more research and indeed oe_runmake should be used and the 
default oe_runmake call already compiles xxd when calling the top level 
Makefile so there's no need for do_compile_append altogether.

The same goes for the install append.

The only thing needed to be done is simply package xxd. I'll rewrite and 
resubmit.

Thank you,
Adrian


  reply	other threads:[~2015-09-29 10:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28 11:44 [meta-oe][PATCH] vim: Compile and provide xxd in package vim-xxd Ioan-Adrian Ratiu
2015-09-28 16:07 ` Khem Raj
2015-09-29 10:03   ` Ioan-Adrian Ratiu [this message]
2015-09-29 10:15 ` [meta-oe][PATCH v2] vim: provide the xxd tool (package vim-xxd) Ioan-Adrian Ratiu
2015-09-29 11:22   ` Martin Jansa
2015-09-29 11:50     ` Ioan-Adrian Ratiu

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=560A61FF.2070004@ni.com \
    --to=adrian.ratiu@ni.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox