From a365e31ab237156244ff265a7c2d11153f2ef9b1 Mon Sep 17 00:00:00 2001 From: "Peter A. Bigot" Date: Tue, 31 Jan 2012 06:40:57 -0600 Subject: [PATCH] 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. Signed-off-by: Peter A. Bigot Acked-by: Roger Monk Signed-off-by: Denys Dmytriyenko --- recipes-ti/dmai/ti-dmai_svn.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/recipes-ti/dmai/ti-dmai_svn.bb b/recipes-ti/dmai/ti-dmai_svn.bb index 3c5595dc..3ac7a81d 100644 --- a/recipes-ti/dmai/ti-dmai_svn.bb +++ b/recipes-ti/dmai/ti-dmai_svn.bb @@ -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 \ "