Patchwork insane.bbclass: Add missing variable bpn

login
register
mail settings
Submitter Noor Ahsan
Date April 11, 2012, noon
Message ID <1334145612-2814-1-git-send-email-noor_ahsan@mentor.com>
Download mbox | patch
Permalink /patch/25587/
State Accepted
Commit 5756d4a7d34fbb370ef54a99dff06afba7a80d8f
Headers show

Comments

Noor Ahsan - April 11, 2012, noon
From: Noor Ahsan <noor_ahsan@mentor.com>

* bpn variable was used but it was not defined. Add bpn to resolve that issue.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
---
 meta/classes/insane.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Saul Wold - April 11, 2012, 3:35 p.m.
On 04/11/2012 05:00 AM, Noor, Ahsan wrote:
> From: Noor Ahsan<noor_ahsan@mentor.com>
>
> * bpn variable was used but it was not defined. Add bpn to resolve that issue.
>
> Signed-off-by: Noor Ahsan<noor_ahsan@mentor.com>
> ---
>   meta/classes/insane.bbclass |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
> index 6298136..1cfb898 100644
> --- a/meta/classes/insane.bbclass
> +++ b/meta/classes/insane.bbclass
> @@ -328,6 +328,7 @@ def package_qa_check_arch(path,name,d, elf, messages):
>       target_os   = d.getVar('TARGET_OS', True)
>       target_arch = d.getVar('TARGET_ARCH', True)
>       provides = d.getVar('PROVIDES', d, True)
> +    bpn = d.getVar('BPN', True)
>
>       # FIXME: Cross package confuse this check, so just skip them
>       for s in ['cross', 'nativesdk', 'cross-canadian']:

Merged into OE-Core

Sau!

Patch

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 6298136..1cfb898 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -328,6 +328,7 @@  def package_qa_check_arch(path,name,d, elf, messages):
     target_os   = d.getVar('TARGET_OS', True)
     target_arch = d.getVar('TARGET_ARCH', True)
     provides = d.getVar('PROVIDES', d, True)
+    bpn = d.getVar('BPN', True)
 
     # FIXME: Cross package confuse this check, so just skip them
     for s in ['cross', 'nativesdk', 'cross-canadian']: