diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-07-23 20:17:59 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-07-23 20:17:59 +0000 |
commit | 6624e4bf969b08d04fe345a2f7c097f5147ca7f1 (patch) | |
tree | 16f10b7c5db4be892048802d27d8108e7f6d2958 /lib/bb/parse/parse_c/BBHandler.py | |
parent | 31321c2cb61f6a2cf0b208edc4e235642c9d53c2 (diff) | |
download | bitbake-6624e4bf969b08d04fe345a2f7c097f5147ca7f1.tar.gz |
lib/bb/parse/parser_c: Handle includes, requires, cope with our syntax
-be able to parse variables like PREFERRED_PROVIDER_virtual/kernel
-handle includes and requires, add 's' to %(fn)
-be less verbose
Diffstat (limited to 'lib/bb/parse/parse_c/BBHandler.py')
-rw-r--r-- | lib/bb/parse/parse_c/BBHandler.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/bb/parse/parse_c/BBHandler.py b/lib/bb/parse/parse_c/BBHandler.py index fd3be268e..e15efa982 100644 --- a/lib/bb/parse/parse_c/BBHandler.py +++ b/lib/bb/parse/parse_c/BBHandler.py @@ -70,12 +70,12 @@ def init(fn, data): def handle(fn, d, include): from bb import data, parse - print "" - print "fn: %s" % fn - print "data: %s" % d - print dir(d) - print d.getVar.__doc__ - print "include: %s" % include + #print "" + #print "fn: %s" % fn + #print "data: %s" % d + #print dir(d) + #print d.getVar.__doc__ + print "include: %s" % fn # check if we include or are the beginning if include: @@ -93,7 +93,7 @@ def handle(fn, d, include): # check if the file exists if not os.path.exists(abs_fn): - raise IOError("file '%(fn)' not found" % locals() ) + raise IOError("file '%(fn)s' not found" % locals() ) # now we know the file is around mark it as dep if include: |