summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/parse_py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 15:55:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-01 14:29:31 +0100
commit91a164cb872d0c1f20d3a11c637c3a15fb1c8f77 (patch)
tree98ca4b91d3d6eeb4f0ec3e9244c64f2404bd3beb /bitbake/lib/bb/parse/parse_py
parent044296ce4c40edb9b5584a5f4118882944b248f6 (diff)
downloadpoky-91a164cb872d0c1f20d3a11c637c3a15fb1c8f77.tar.gz
bitbake: event: Add SkipRecipe event to replace SkipPackage
In the depths of time we were rather confused about naming. bb files are recipes, the event to skip parsing them should be SkipRecipe, not SkipPackage. This changes bitbake to use the better name but leaves the other around for now. We can therefore start removing references to it from the metadata. (Bitbake rev: 98d9e6e0f514a7cb7da1d99bf4bd5602b89426d6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index a8627e9c07..9633340d1b 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -154,7 +154,7 @@ def handle(fn, d, include):
154 154
155 try: 155 try:
156 statements.eval(d) 156 statements.eval(d)
157 except bb.parse.SkipPackage: 157 except bb.parse.SkipRecipe:
158 bb.data.setVar("__SKIPPED", True, d) 158 bb.data.setVar("__SKIPPED", True, d)
159 if include == 0: 159 if include == 0:
160 return { "" : d } 160 return { "" : d }