Patchwork valgrind: allow native builds

login
register
mail settings
Submitter Jonathan Liu
Date June 5, 2013, 2:58 a.m.
Message ID <1370401139-15582-1-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/51153/
State Not Applicable, archived
Headers show

Comments

Jonathan Liu - June 5, 2013, 2:58 a.m.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 1 +
 1 file changed, 1 insertion(+)
Richard Purdie - June 5, 2013, 8:03 a.m.
On Wed, 2013-06-05 at 12:58 +1000, Jonathan Liu wrote:
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
>  meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> index 3520d49..503e996 100644
> --- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> +++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
>  
>  X11DEPENDS = "virtual/libx11"
>  DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
> +BBCLASSEXTEND = "native"
>  PR = "r8"
>  
>  SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \

Why? Commit message is rather short.

Cheers,

Richard
Jonathan Liu - June 5, 2013, 8:13 a.m.
On 5 June 2013 18:03, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> On Wed, 2013-06-05 at 12:58 +1000, Jonathan Liu wrote:
>> Signed-off-by: Jonathan Liu <net147@gmail.com>
>> ---
>>  meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
>> index 3520d49..503e996 100644
>> --- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
>> +++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
>> @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
>>
>>  X11DEPENDS = "virtual/libx11"
>>  DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
>> +BBCLASSEXTEND = "native"
>>  PR = "r8"
>>
>>  SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
>
> Why? Commit message is rather short.
>
> Cheers,
>
> Richard
>
I have a recipe that can make use of it.

Regards,
Jonathan

Patch

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
index 3520d49..503e996 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
@@ -9,6 +9,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
 
 X11DEPENDS = "virtual/libx11"
 DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
+BBCLASSEXTEND = "native"
 PR = "r8"
 
 SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \