* Based of linux-ti-staging_3.8.bbappend

Signed-off-by: Siddharth Heroor <[email protected]>
cc: Mrinmayee Hingolikar <[email protected]>
---
 .../linux/linux-ti-glsdk_3.8.bbappend              |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 
meta-arago-distro/recipes-kernel/linux/linux-ti-glsdk_3.8.bbappend

diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-glsdk_3.8.bbappend 
b/meta-arago-distro/recipes-kernel/linux/linux-ti-glsdk_3.8.bbappend
new file mode 100644
index 0000000..b20c63a
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-glsdk_3.8.bbappend
@@ -0,0 +1,17 @@
+MACHINE_KERNEL_PR_append = "-arago6"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
+
+require copy-defconfig.inc
+
+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.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to