diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-01-13 17:13:45 +0000 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-17 14:53:03 +0000 | 
| commit | c9f6fd20cf65799714b45a7bdfc3dd022b3d79cd (patch) | |
| tree | 1de139d01a5cd061330f58f1e398f61aff8d77ab /meta/classes/base.bbclass | |
| parent | 09a70c55e590d169b8a3b4b89853c96b7b977fc0 (diff) | |
| download | openembedded-core-c9f6fd20cf65799714b45a7bdfc3dd022b3d79cd.tar.gz openembedded-core-c9f6fd20cf65799714b45a7bdfc3dd022b3d79cd.tar.bz2 openembedded-core-c9f6fd20cf65799714b45a7bdfc3dd022b3d79cd.zip | |
classes/base: note variable name in COMPATIBLE_* skip messages
When raising SkipPackage for COMPATIBLE_MACHINE and COMPATIBLE_HOST
exceptions, include the name of the variable as a hint to the user.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
| -rw-r--r-- | meta/classes/base.bbclass | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index f0c358ea32..091e965c1d 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -379,7 +379,7 @@ python () {              import re              this_host = d.getVar('HOST_SYS', 1)              if not re.match(need_host, this_host): -                raise bb.parse.SkipPackage("incompatible with host %s" % this_host) +                raise bb.parse.SkipPackage("incompatible with host %s (not in COMPATIBLE_HOST)" % this_host)          need_machine = d.getVar('COMPATIBLE_MACHINE', 1)          if need_machine: @@ -388,7 +388,7 @@ python () {              if this_machine and not re.match(need_machine, this_machine):                  this_soc_family = d.getVar('SOC_FAMILY', 1)                  if (this_soc_family and not re.match(need_machine, this_soc_family)) or not this_soc_family: -                    raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) +                    raise bb.parse.SkipPackage("incompatible with machine %s (not in COMPATIBLE_MACHINE)" % this_machine)          dont_want_license = d.getVar('INCOMPATIBLE_LICENSE', 1) | 
