summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-07-19 21:57:09 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-22 14:55:18 +0000
commit9998b454bba5efac11b70b1ca256cb113d8f0807 (patch)
tree4cb7ae27581e723d39c9fc8bfc0fbdf4e460243a /bitbake/lib/bb
parent8f83be3338d7aef4b6fcef5ea89dc69fa587c1f6 (diff)
downloadpoky-9998b454bba5efac11b70b1ca256cb113d8f0807.tar.gz
Kill unused projectdir in bb package.
(Bitbake rev: 79b93e6929c5feeb1ad05bd17f589c69f00b77f6) Signed-off-by: Chris Larson <clarson@mvista.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/__init__.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index 92749d56f2..ae53b481cd 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -68,24 +68,13 @@ __all__ = [
68 68
69import sys, os, types, re, string, bb 69import sys, os, types, re, string, bb
70 70
71#projectdir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
72projectdir = os.getcwd()
73
74if "BBDEBUG" in os.environ: 71if "BBDEBUG" in os.environ:
75 level = int(os.environ["BBDEBUG"]) 72 level = int(os.environ["BBDEBUG"])
76 if level: 73 if level:
77 bb.msg.set_debug_level(level) 74 bb.msg.set_debug_level(level)
78 75
79#######################################################################
80#######################################################################
81#
82# SECTION: Debug
83#
84# PURPOSE: little functions to make yourself known
85#
86#######################################################################
87#######################################################################
88 76
77# Messaging convenience functions
89def plain(*args): 78def plain(*args):
90 bb.msg.plain(''.join(args)) 79 bb.msg.plain(''.join(args))
91 80