diff options
Diffstat (limited to 'meta/classes-recipe/devupstream.bbclass')
-rw-r--r-- | meta/classes-recipe/devupstream.bbclass | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes-recipe/devupstream.bbclass b/meta/classes-recipe/devupstream.bbclass index d941763fb7..60026a527f 100644 --- a/meta/classes-recipe/devupstream.bbclass +++ b/meta/classes-recipe/devupstream.bbclass | |||
@@ -13,9 +13,6 @@ | |||
13 | # SRC_URI:class-devupstream = "git://git.example.com/example;branch=master" | 13 | # SRC_URI:class-devupstream = "git://git.example.com/example;branch=master" |
14 | # SRCREV:class-devupstream = "abcdef" | 14 | # SRCREV:class-devupstream = "abcdef" |
15 | # | 15 | # |
16 | # If the first entry in SRC_URI is a git: URL then S is rewritten to | ||
17 | # WORKDIR/git. | ||
18 | # | ||
19 | # There are a few caveats that remain to be solved: | 16 | # There are a few caveats that remain to be solved: |
20 | # - You can't build native or nativesdk recipes using for example | 17 | # - You can't build native or nativesdk recipes using for example |
21 | # devupstream:native, you can only build target recipes. | 18 | # devupstream:native, you can only build target recipes. |
@@ -39,9 +36,6 @@ python devupstream_virtclass_handler () { | |||
39 | src_uri = d.getVar("SRC_URI:class-devupstream") or d.getVar("SRC_URI") | 36 | src_uri = d.getVar("SRC_URI:class-devupstream") or d.getVar("SRC_URI") |
40 | uri = bb.fetch2.URI(src_uri.split()[0]) | 37 | uri = bb.fetch2.URI(src_uri.split()[0]) |
41 | 38 | ||
42 | if uri.scheme == "git" and not d.getVar("S:class-devupstream"): | ||
43 | d.setVar("S", "${WORKDIR}/git") | ||
44 | |||
45 | # Modify the PV if the recipe hasn't already overridden it | 39 | # Modify the PV if the recipe hasn't already overridden it |
46 | pv = d.getVar("PV") | 40 | pv = d.getVar("PV") |
47 | proto_marker = "+" + uri.scheme | 41 | proto_marker = "+" + uri.scheme |