1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00:00

bitbake: Upgrade from 1.4 -> 1.7.4ish

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@863 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2006-11-16 15:02:15 +00:00
parent 65930a38e4
commit 306b7c7a97
44 changed files with 3696 additions and 1785 deletions
+11 -16
View File
@@ -23,7 +23,7 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA.
"""
__version__ = "1.4.3"
__version__ = "1.7.4"
__all__ = [
@@ -63,24 +63,24 @@ __all__ = [
"manifest",
"methodpool",
"cache",
"runqueue",
"taskdata",
"providers",
]
whitespace = '\t\n\x0b\x0c\r '
lowercase = 'abcdefghijklmnopqrstuvwxyz'
import sys, os, types, re, string
import sys, os, types, re, string, bb
from bb import msg
#projectdir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
projectdir = os.getcwd()
debug_level = 0
if "BBDEBUG" in os.environ:
level = int(os.environ["BBDEBUG"])
if level:
debug_level = level
else:
debug_level = 0
bb.msg.set_debug_level(level)
class VarExpandError(Exception):
pass
@@ -99,22 +99,17 @@ class MalformedUrl(Exception):
#######################################################################
#######################################################################
debug_prepend = ''
def debug(lvl, *args):
if debug_level >= lvl:
print debug_prepend + 'DEBUG:', ''.join(args)
bb.msg.std_debug(lvl, ''.join(args))
def note(*args):
print debug_prepend + 'NOTE:', ''.join(args)
bb.msg.std_note(''.join(args))
def error(*args):
print debug_prepend + 'ERROR:', ''.join(args)
bb.msg.std_error(''.join(args))
def fatal(*args):
print debug_prepend + 'ERROR:', ''.join(args)
sys.exit(1)
bb.msg.std_fatal(''.join(args))
#######################################################################