Skip to contentSkip to conversation

Peter A. Bigot : ti-dmai_svn: correct path within svn checkout

PATCH Arago Project git 2 participants 2 messages Feb 21, 2012

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: a365e31ab237156244ff265a7c2d11153f2ef9b1
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=a365e31ab237156244ff265a7c2d11153f2ef9b1
Author: Peter A. Bigot <[email protected]>
Date:   Tue Jan 31 06:40:57 2012 -0600

ti-dmai_svn: correct path within svn checkout

At r642 as currently retrieved, the contents of ${S} are subdirectories dmai and patches, so the subsequent attempt to run "make clean" in ${S} fails because there is no Makefile there. Append /dmai to the default ${S}, remove the now incorrect /dmai from LIC_FILES_CHKSUM, and correct the strippath for the patches to reflect the new starting location.

---

 recipes-ti/dmai/ti-dmai_svn.bb |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
recipes-ti/dmai/ti-dmai_svn.bb +6 -3
index 3c5595d..3ac7a81 100644
@@ -1,11 +1,14 @@
 require ti-dmai.inc
 
+# Need to descend one level more to find source
+S = "${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}/dmai"
+
 # Hack to be able to use recent kernel headers from userspace
 TARGET_CC_ARCH += " -D__EXPORTED_HEADERS__"
 
 PV = "2_10_00_01+svnr${SRCPV}"
 
-LIC_FILES_CHKSUM = "file://dmai/dmai_${PV}_License.html;md5=3302f728a5a42f97cabc26a54d7fa607"
+LIC_FILES_CHKSUM = "file://dmai_${PV}_License.html;md5=3302f728a5a42f97cabc26a54d7fa607"
 
 # This package has high dependence on kernel, use kernel PR as base and append a local version
 PR = "${MACHINE_KERNEL_PR}"
@@ -29,7 +32,7 @@ SRCREV_omapl137       = "482"
 SRCREV_omapl138       = "570"
 SRCREV               ?= "UNDEFINED_SRCREV"
 
-SRC_URI_append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=2 \
-                   file://r642-fix-config-bld.diff;striplevel=2 \
+SRC_URI_append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=3 \
+                   file://r642-fix-config-bld.diff;striplevel=3 \
                  "
 
#1 lore raw
Quoted 32 lines · Arago Project git

Module: meta-ti
Branch: master
Commit: a365e31ab237156244ff265a7c2d11153f2ef9b1
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=a365e31ab237156244ff265a7c2d11153f2ef9b1

Author: Peter A. Bigot <[email protected]>
Date:   Tue Jan 31 06:40:57 2012 -0600

ti-dmai_svn: correct path within svn checkout

At r642 as currently retrieved, the contents of ${S} are subdirectories dmai and patches, so the subsequent attempt to run "make clean" in ${S} fails because there is no Makefile there.  Append /dmai to the default ${S}, remove the now incorrect /dmai from LIC_FILES_CHKSUM, and correct the strippath for the patches to reflect the new starting location.

---

 recipes-ti/dmai/ti-dmai_svn.bb |    9 ++++++---

 1 files changed, 6 insertions(+), 3 deletions(-)
recipes-ti/dmai/ti-dmai_svn.bb +0 -0
index 3c5595d..3ac7a81 100644
@@ -1,11 +1,14 @@

 require ti-dmai.inc

recipes-ti/dmai/ti-dmai_svn.bb line 5

Quoted 3 lines
recipes-ti/dmai/ti-dmai_svn.bb +3 -0
+# Need to descend one level more to find source
+S = "${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}/dmai"
+

This is already set in ti-dmai.inc so it's not needed here.

Enrico