Skip to content

Commit

Permalink
move to version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis committed Oct 9, 2023
1 parent a96467f commit fae1653
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions recipes-thunder/include/version.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Sets a default version for thunder
RECIPE_BRANCH ?= "R4"
SRCREV ?= "R4.4.0"
# Gets the branch name from version number
def GetMajorVersion(v):
return v.split('.', 1)[0]

PV = "${RECIPE_BRANCH}+gitr${SRCPV}"
RECIPE_BRANCH ?= "R${@GetMajorVersion('${PV}')}"

# this should point to a git tag
SRCREV ?= "R${PV}"
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=85bcfede74b96d9a58c6ea5d4b607e58"
PROVIDES += "wpeframework"
RPROVIDES:${PN} += "wpeframework"


require ../include/thunder.inc
require ../include/version.inc

require ${@oe.utils.conditional('THUNDER_GROUP', '', '', 'include/usergroup/thunder.inc', d)}

SRC_URI = "git://github.com/rdkcentral/Thunder.git;protocol=git;branch=${RECIPE_BRANCH};protocol=https"
Expand Down

0 comments on commit fae1653

Please sign in to comment.