Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] curl: cleanup buildpaths from curl-config
@ 2015-09-24 11:04 wenzong.fan
  2015-09-26 21:45 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: wenzong.fan @ 2015-09-24 11:04 UTC (permalink / raw)
  To: openembedded-core

From: Wenzong Fan <wenzong.fan@windriver.com>

* curl-config:
  -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -> -L/usr/lib64
  --sysroot=/path/to/tmp/sysroots/qemux86-64'  -> --sysroot=

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-support/curl/curl_7.44.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/curl/curl_7.44.0.bb b/meta/recipes-support/curl/curl_7.44.0.bb
index b293303..b0cf700 100644
--- a/meta/recipes-support/curl/curl_7.44.0.bb
+++ b/meta/recipes-support/curl/curl_7.44.0.bb
@@ -43,6 +43,9 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_siz
 
 do_install_append() {
 	oe_multilib_header curl/curlbuild.h
+
+	# cleanup buildpaths from curl-config
+	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${bindir}/curl-config
 }
 
 PACKAGES =+ "lib${BPN}"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] curl: cleanup buildpaths from curl-config
  2015-09-24 11:04 [PATCH] curl: cleanup buildpaths from curl-config wenzong.fan
@ 2015-09-26 21:45 ` Richard Purdie
  2015-09-28  3:10   ` wenzong fan
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2015-09-26 21:45 UTC (permalink / raw)
  To: wenzong.fan; +Cc: openembedded-core

On Thu, 2015-09-24 at 07:04 -0400, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
> 
> * curl-config:
>   -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -> -L/usr/lib64
>   --sysroot=/path/to/tmp/sysroots/qemux86-64'  -> --sysroot=
> 
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
>  meta/recipes-support/curl/curl_7.44.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-support/curl/curl_7.44.0.bb b/meta/recipes-support/curl/curl_7.44.0.bb
> index b293303..b0cf700 100644
> --- a/meta/recipes-support/curl/curl_7.44.0.bb
> +++ b/meta/recipes-support/curl/curl_7.44.0.bb
> @@ -43,6 +43,9 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_siz
>  
>  do_install_append() {
>  	oe_multilib_header curl/curlbuild.h
> +
> +	# cleanup buildpaths from curl-config
> +	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${bindir}/curl-config
>  }

https://autobuilder.yoctoproject.org/main/builders/nightly-deb-non-deb/builds/162

Seems curl-native doesn't build since STAGING_DIR_HOST == "".

Cheers,

Richard


 





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] curl: cleanup buildpaths from curl-config
  2015-09-26 21:45 ` Richard Purdie
@ 2015-09-28  3:10   ` wenzong fan
  0 siblings, 0 replies; 3+ messages in thread
From: wenzong fan @ 2015-09-28  3:10 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On 09/27/2015 05:45 AM, Richard Purdie wrote:
> On Thu, 2015-09-24 at 07:04 -0400, wenzong.fan@windriver.com wrote:
>> From: Wenzong Fan <wenzong.fan@windriver.com>
>>
>> * curl-config:
>>    -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -> -L/usr/lib64
>>    --sysroot=/path/to/tmp/sysroots/qemux86-64'  -> --sysroot=
>>
>> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
>> ---
>>   meta/recipes-support/curl/curl_7.44.0.bb | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/meta/recipes-support/curl/curl_7.44.0.bb b/meta/recipes-support/curl/curl_7.44.0.bb
>> index b293303..b0cf700 100644
>> --- a/meta/recipes-support/curl/curl_7.44.0.bb
>> +++ b/meta/recipes-support/curl/curl_7.44.0.bb
>> @@ -43,6 +43,9 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_siz
>>
>>   do_install_append() {
>>   	oe_multilib_header curl/curlbuild.h
>> +
>> +	# cleanup buildpaths from curl-config
>> +	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${bindir}/curl-config
>>   }
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-deb-non-deb/builds/162
>
> Seems curl-native doesn't build since STAGING_DIR_HOST == "".

Oh, sorry. It should be limited to do_install_append_class-target().

Please ignore this patch, I'll send out V2 for the fix.

Thanks
Wenzong

>
> Cheers,
>
> Richard
>
>
>
>
>
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-28  3:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 11:04 [PATCH] curl: cleanup buildpaths from curl-config wenzong.fan
2015-09-26 21:45 ` Richard Purdie
2015-09-28  3:10   ` wenzong fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox