summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io.inc
diff options
context:
space:
mode:
authorVyacheslav Pedash <vyacheslav.pedash@globallogic.com>2021-03-11 17:28:59 +0200
committerJohn Klug <john.klug@multitech.com>2021-03-11 12:02:09 -0600
commit9ae801a1a01a670aa0ac920182ac86ba0b9ca6bb (patch)
tree1a3504bfa56522231f07dee1523b792f2b996564 /recipes-bsp/multitech/mts-io.inc
parenteb1ad84177ae65e64cf08159243b91da7f5d5450 (diff)
downloadmeta-multitech-9ae801a1a01a670aa0ac920182ac86ba0b9ca6bb.tar.gz
meta-multitech-9ae801a1a01a670aa0ac920182ac86ba0b9ca6bb.tar.bz2
meta-multitech-9ae801a1a01a670aa0ac920182ac86ba0b9ca6bb.zip
MTX-3899 Fix PR values
The value of WORKDIR variable depends on PR. If PR and consequently WORKDIR changes its value build will fail because values in butbake cache will not correspond to the real ones. KERNEL_MODULE_PACKAGE_SUFFIX is derived from files in kernel staging directory and cosequenlty recives expected value only when kernel shared directory is populated. Therefore, it can not be used in PR. PR values are set to constant strings and to preserve current package names KERNEL_MODULE_PACKAGE_SUFFIX is added to PKGR
Diffstat (limited to 'recipes-bsp/multitech/mts-io.inc')
-rw-r--r--recipes-bsp/multitech/mts-io.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 7aee110..1aa6f02 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -10,7 +10,8 @@ do_fetch[depends] += "virtual/kernel:do_shared_workdir"
INC_PR = "r4"
SRCREV = "${PV}"
-PR = "${INC_PR}.0-${KERNEL_MODULE_PACKAGE_SUFFIX}"
+PR = "${INC_PR}.0"
+PKGR = "${PR}-${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}"
# Some package needs to provide mts-io
RPROVIDES_kernel-module-${PN} = "mts-io"