All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junling Zheng <zhengjunling@huawei.com>
To: Andre McCurdy <armccurdy@gmail.com>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] gmp: remove referencing paths from the build host
Date: Mon, 20 Apr 2015 09:30:26 +0800	[thread overview]
Message-ID: <553456B2.8090004@huawei.com> (raw)
In-Reply-To: <CAJ86T=VcRP1Fxc2+yb12K33TKqssuChAwHTAKjtAWyeMmqMrew@mail.gmail.com>

On 2015/4/18 2:24, Andre McCurdy wrote:
> On Fri, Apr 17, 2015 at 1:50 AM, Junling Zheng <zhengjunling@huawei.com> wrote:
>> Currently ${D}${includedir}/gmp.h references the path of build host
>> incorrectly, remove it.
>>
>> Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
>> ---
>>  meta/recipes-support/gmp/gmp.inc | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
>> index 558ee06..a80b356 100644
>> --- a/meta/recipes-support/gmp/gmp.inc
>> +++ b/meta/recipes-support/gmp/gmp.inc
>> @@ -26,4 +26,8 @@ EXTRA_OECONF += " --enable-cxx=detect"
>>  PACKAGES =+ "libgmpxx"
>>  FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
>>
>> +do_install_append_class-target() {
>> +       sed -i "s+--sysroot=${STAGING_DIR_HOST}++g" ${D}${includedir}/gmp.h
>> +}
> 
> It's possible that STAGING_DIR_HOST could contain '+' characters, so
> '|' would be a safer sed separator to use here.
> 

Ok, thanks for your suggestion:)

>> +
>>  SSTATE_SCAN_FILES += "gmp.h"
>> --
>> 1.9.1
>>
> 
> 




  reply	other threads:[~2015-04-20  1:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17  8:50 [PATCH] gmp: remove referencing paths from the build host Junling Zheng
2015-04-17 18:24 ` Andre McCurdy
2015-04-20  1:30   ` Junling Zheng [this message]
2015-04-20 15:15     ` Richard Purdie
2015-04-21  1:06       ` Junling Zheng

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=553456B2.8090004@huawei.com \
    --to=zhengjunling@huawei.com \
    --cc=armccurdy@gmail.com \
    --cc=openembedded-core@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.