diff options
Diffstat (limited to 'bitbake')
-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 | ||