diff options
Diffstat (limited to 'meta/classes/base.bbclass')
| -rw-r--r-- | meta/classes/base.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index de5135cf6b..87a4cb5fc7 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -438,6 +438,14 @@ python () { | |||
| 438 | if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("B")): | 438 | if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("B")): |
| 439 | d.appendVar("PSEUDO_IGNORE_PATHS", ",${B}") | 439 | d.appendVar("PSEUDO_IGNORE_PATHS", ",${B}") |
| 440 | 440 | ||
| 441 | # To add a recipe to the skip list , set: | ||
| 442 | # SKIP_RECIPE[pn] = "message" | ||
| 443 | pn = d.getVar('PN') | ||
| 444 | skip_msg = d.getVarFlag('SKIP_RECIPE', pn) | ||
| 445 | if skip_msg: | ||
| 446 | bb.debug(1, "Skipping %s %s" % (pn, skip_msg)) | ||
| 447 | raise bb.parse.SkipRecipe("Recipe will be skipped because: %s" % (skip_msg)) | ||
| 448 | |||
| 441 | # Handle PACKAGECONFIG | 449 | # Handle PACKAGECONFIG |
| 442 | # | 450 | # |
| 443 | # These take the form: | 451 | # These take the form: |
