From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../recipes-bsp/u-boot/u-boot-ti-staging_git.bbappend     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 
meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_git.bbappend

diff --git 
a/meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_git.bbappend 
b/meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_git.bbappend
new file mode 100644
index 0000000..754d625
--- /dev/null
+++ b/meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_git.bbappend
@@ -0,0 +1,15 @@
+PR_append = "-arago0"
+
+SRCREV = "${AUTOREV}"
+
+UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
+
+# the lines below can be removed once the U-Boot LOCALVERSION patches are 
merged
+# into the oe-core danny branch. Update: not coming to danny, wait for dylan.
+do_compile_prepend() {
+    if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]
+    then
+        echo ${UBOOT_LOCALVERSION} > ${B}/.scmversion
+        echo ${UBOOT_LOCALVERSION} > ${S}/.scmversion
+    fi
+}
-- 
1.8.3.2

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

Reply via email to