summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91_4.9.87.bb
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2020-05-14 15:40:07 +0300
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2020-05-14 15:40:07 +0300
commit3674d3e71ef3a7289b7595b0786355b7cf47936c (patch)
tree5dc0f488a22e59a69cd9fb114827fc0dde308679 /recipes-kernel/linux/linux-at91_4.9.87.bb
parent95edeea8d5ccf572d6edf3761112a89b266c3e89 (diff)
downloadmeta-multitech-atmel-3674d3e71ef3a7289b7595b0786355b7cf47936c.tar.gz
meta-multitech-atmel-3674d3e71ef3a7289b7595b0786355b7cf47936c.tar.bz2
meta-multitech-atmel-3674d3e71ef3a7289b7595b0786355b7cf47936c.zip
mpower-thud: fill MLINUX_KERNEL_EXTRA_VERSION from the kernel recipe
Diffstat (limited to 'recipes-kernel/linux/linux-at91_4.9.87.bb')
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.87.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb
index 380031e..e433d22 100644
--- a/recipes-kernel/linux/linux-at91_4.9.87.bb
+++ b/recipes-kernel/linux/linux-at91_4.9.87.bb
@@ -99,6 +99,11 @@ do_deploy_append() {
fi
}
+# Kernel PR is used for MLINUX_KERNEL_EXTRA_VERSION; share it here:
+do_shared_workdir_append() {
+ echo ${PR} > ${STAGING_KERNEL_BUILDDIR}/mlinux_pr
+}
+
kernel_do_configure_append() {
rm -f ${B}/.scmversion ${S}/.scmversion
cd ${S}; git status; cd -