From: Denys Dmytriyenko <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
.../linux/linux-ti-staging_git.bbappend | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644
meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bbappend
diff --git
a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bbappend
b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bbappend
new file mode 100644
index 0000000..a0a777c
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bbappend
@@ -0,0 +1,19 @@
+MACHINE_KERNEL_PR_append = "-arago0"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
+
+require copy-defconfig.inc
+
+SRCREV = "${AUTOREV}"
+
+KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
+
+# The below lines are overlayed until the LOCALVERSION change is merged into
+# the oe-core danny branch. Update: not coming to danny, keep until dylan.
+kernel_do_configure_prepend() {
+ if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]
+ then
+ echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
+ echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
+ fi
+}
--
1.8.3.2
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago