]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake BBHandler: Disable creation of A variable
authorRichard Purdie <richard@openedhand.com>
Sat, 4 Aug 2007 19:57:10 +0000 (19:57 +0000)
committerRichard Purdie <richard@openedhand.com>
Sat, 4 Aug 2007 19:57:10 +0000 (19:57 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2360 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake/lib/bb/parse/parse_py/BBHandler.py

index 5f8426df24b6210ec132022768f2def1b317e76b..1afbc6f2944727b0a77216fc4fff47d3fe1d7f0b 100644 (file)
@@ -390,25 +390,27 @@ def vars_from_file(mypkg, d):
 def set_additional_vars(file, d, include):
     """Deduce rest of variables, e.g. ${A} out of ${SRC_URI}"""
 
-    bb.msg.debug(2, bb.msg.domain.Parsing, "BB %s: set_additional_vars" % file)
+    return
 
-    src_uri = data.getVar('SRC_URI', d, 1)
-    if not src_uri:
-        return
+#    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
 
-    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