1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-17 04:07:06 +00:00

bitbake: Sync with upstream

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2480 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-08-11 22:42:15 +00:00
parent 0197eb2d87
commit 18026165c3
5 changed files with 88 additions and 80 deletions
+16 -16
View File
@@ -391,26 +391,26 @@ def set_additional_vars(file, d, include):
"""Deduce rest of variables, e.g. ${A} out of ${SRC_URI}"""
return
# Nothing seems to use this variable
#bb.msg.debug(2, bb.msg.domain.Parsing, "BB %s: set_additional_vars" % file)
# bb.msg.debug(2, bb.msg.domain.Parsing, "BB %s: set_additional_vars" % file)
#src_uri = data.getVar('SRC_URI', d, 1)
#if not src_uri:
# return
# src_uri = data.getVar('SRC_URI', d, 1)
# if not src_uri:
# return
#a = (data.getVar('A', d, 1) or '').split()
# a = (data.getVar('A', d, 1) or '').split()
#from bb import fetch
#try:
# ud = fetch.init(src_uri.split(), d)
# a += fetch.localpaths(d, ud)
#except fetch.NoMethodError:
# pass
#except bb.MalformedUrl,e:
# raise ParseError("Unable to generate local paths for SRC_URI due to malformed uri: %s" % e)
#del fetch
# from bb import fetch
# try:
# ud = fetch.init(src_uri.split(), d)
# a += fetch.localpaths(d, ud)
# except fetch.NoMethodError:
# pass
# except bb.MalformedUrl,e:
# raise ParseError("Unable to generate local paths for SRC_URI due to malformed uri: %s" % e)
# del fetch
# data.setVar('A', " ".join(a), d)
#data.setVar('A', " ".join(a), d)
# Add us to the handlers list