diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-03 10:41:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-05 10:36:53 -0800 |
commit | ff73b02a7203623e5edfaaa10df17eaa63cf4ed3 (patch) | |
tree | d32fbf33c74a0a9c60f3676d1aa46bb6812fa757 /bitbake/lib/bb/build.py | |
parent | 082cc604f5eb1a7f6d3c4dda01154cfa93b0d660 (diff) | |
download | poky-ff73b02a7203623e5edfaaa10df17eaa63cf4ed3.tar.gz |
meta/classes: Convert to use appendVar and appendVarFlags
(From OE-Core rev: 3b57de68e70e77dbc03c0616a83a29a2e99e40b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index a9b40e729d..736ba24393 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -70,9 +70,9 @@ class TaskBase(event.Event): | |||
70 | 70 | ||
71 | def __init__(self, t, d ): | 71 | def __init__(self, t, d ): |
72 | self._task = t | 72 | self._task = t |
73 | self._package = d.getVar("PF", 1) | 73 | self._package = d.getVar("PF", True) |
74 | event.Event.__init__(self) | 74 | event.Event.__init__(self) |
75 | self._message = "package %s: task %s: %s" % (d.getVar("PF", 1), t, self.getDisplayName()) | 75 | self._message = "package %s: task %s: %s" % (d.getVar("PF", True), t, self.getDisplayName()) |
76 | 76 | ||
77 | def getTask(self): | 77 | def getTask(self): |
78 | return self._task | 78 | return self._task |