summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/rs9113/rs9113.inc')
-rw-r--r--recipes-kernel/rs9113/rs9113.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc
index d7d169a..3b722cf 100644
--- a/recipes-kernel/rs9113/rs9113.inc
+++ b/recipes-kernel/rs9113/rs9113.inc
@@ -27,13 +27,18 @@ python do_fetch_prepend () {
except TypeError:
bb.fatal("MTS_INTERNAL_GIT must be in BB_ENV_EXTRAWHITE")
- PV = d.getVar("PV",True)
+ gitversion = d.getVar("PV",True)
+
+ PV = gitversion
+ PV += "-"
+ PV += d.getVar("MLINUX_KERNEL_VERSION",True)
+ PV += d.getVar("MLINUX_KERNEL_EXTRA_VERSION",True)
+
bb.note("PV is " + PV)
- gt += ":mlinux/ipk.git " + PV
+ gt += ":mlinux/ipk.git " + gitversion
bb.note("git is " + gt)
- PR = d.getVar("PR",True)
tar = "tar -vx --strip-components 1 -C " + DR + " rs9113/rs9113-from-src_"
- tar += PV + "-" + PR + ".0_mtcdt.ipk"
+ tar += PV + ".0_mtcdt.ipk"
bb.note("tar is " + tar)
os.system(ex + ";" + gt + "|" + tar)
}