diff options
author | Chris Larson <clarson@mvista.com> | 2009-07-19 21:57:09 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-22 14:55:18 +0000 |
commit | 9998b454bba5efac11b70b1ca256cb113d8f0807 (patch) | |
tree | 4cb7ae27581e723d39c9fc8bfc0fbdf4e460243a | |
parent | 8f83be3338d7aef4b6fcef5ea89dc69fa587c1f6 (diff) | |
download | poky-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>
-rw-r--r-- | bitbake/lib/bb/__init__.py | 13 |
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 | ||
69 | import sys, os, types, re, string, bb | 69 | import sys, os, types, re, string, bb |
70 | 70 | ||
71 | #projectdir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) | ||
72 | projectdir = os.getcwd() | ||
73 | |||
74 | if "BBDEBUG" in os.environ: | 71 | if "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 | ||
89 | def plain(*args): | 78 | def plain(*args): |
90 | bb.msg.plain(''.join(args)) | 79 | bb.msg.plain(''.join(args)) |
91 | 80 | ||