All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 3/4] linux-ti-staging: enable LOCALVERSION and AUTOREV
@ 2013-08-23 21:03 Denys Dmytriyenko
  2013-08-23 21:03 ` [PATCHv2 4/4] u-boot-ti-staging: " Denys Dmytriyenko
  2013-08-23 21:08 ` [PATCHv2 3/4] linux-ti-staging: " Cooper Jr., Franklin
  0 siblings, 2 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2013-08-23 21:03 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
v2 - removed the comment about upstreaming LOCALVERSION, may not happen

 .../recipes-kernel/linux/linux-ti-staging_git.bbappend  | 17 +++++++++++++++++
 1 file changed, 17 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..f99482c
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bbappend
@@ -0,0 +1,17 @@
+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]}"
+
+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



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-08-26 18:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23 21:03 [PATCHv2 3/4] linux-ti-staging: enable LOCALVERSION and AUTOREV Denys Dmytriyenko
2013-08-23 21:03 ` [PATCHv2 4/4] u-boot-ti-staging: " Denys Dmytriyenko
2013-08-23 21:08 ` [PATCHv2 3/4] linux-ti-staging: " Cooper Jr., Franklin
2013-08-23 21:15   ` Denys Dmytriyenko
2013-08-23 21:54     ` Cooper Jr., Franklin
2013-08-26 13:11       ` Maupin, Chase
2013-08-26 17:58         ` Cooper Jr., Franklin
2013-08-26 14:48       ` Denys Dmytriyenko
2013-08-26 18:04         ` Cooper Jr., Franklin
2013-08-26 18:56           ` Maupin, Chase

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.