diff options
Diffstat (limited to 'meta-poky/classes/poky-bleeding.bbclass')
| -rw-r--r-- | meta-poky/classes/poky-bleeding.bbclass | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta-poky/classes/poky-bleeding.bbclass b/meta-poky/classes/poky-bleeding.bbclass deleted file mode 100644 index fe558f25a8..0000000000 --- a/meta-poky/classes/poky-bleeding.bbclass +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | # | ||
| 2 | # AUTOREV and PV containing '+git' needs to be set early, before any anonymous python | ||
| 3 | # expands anything containing PV, else the parse process won't trigger the fetcher to | ||
| 4 | # cache the needed version data | ||
| 5 | # | ||
| 6 | python pokybleeding_version_handler () { | ||
| 7 | bpn = d.getVar("BPN") | ||
| 8 | # We're running before the class extension code at PreFinalise so manually fix BPN | ||
| 9 | bpn = bpn.replace("-nativesdk", "").replace("nativesdk-", "") | ||
| 10 | |||
| 11 | if bpn in d.getVar("POKY_AUTOREV_RECIPES").split(): | ||
| 12 | d.setVar("SRCREV", "${AUTOREV}") | ||
| 13 | srcrev_format = d.getVar("SRCREV_FORMAT") | ||
| 14 | if srcrev_format: | ||
| 15 | for multi_scm in d.getVar("SRCREV_FORMAT").split("_"): | ||
| 16 | if multi_scm != "": | ||
| 17 | d.setVar("SRCREV_%s" % multi_scm, "${AUTOREV}") | ||
| 18 | if "+git" not in d.getVar("PV"): | ||
| 19 | d.appendVar("PV", "+git") | ||
| 20 | } | ||
| 21 | |||
| 22 | addhandler pokybleeding_version_handler | ||
| 23 | pokybleeding_version_handler[eventmask] = "bb.event.RecipePreFinalise" | ||
