From: Chunrong Guo <[email protected]>

  * fix the follow error:
   | cp: cannot stat 
`/poky/build/tmp/work/ls1021atwr-poky-linux-gnueabi/asf/git-r0/git/asfmodule/scripts':
 No such file or directory
   | WARNING: 
/poky/build/tmp/work/ls1021atwr-poky-linux-gnueabi/asf/git-r0/temp/run.do_install.31941:1
 exit 1 from
   |   cp -rf 
//poky/build/tmp/work/ls1021atwr-poky-linux-gnueabi/asf/git-r0/git/asfmodule/scripts
 
/poky/build/tmp/work/ls1021atwr-poky-linux-gnueabi/asf/git-r0/image//usr/lib/asf/
   | ERROR: Function failed: do_install

Signed-off-by: Chunrong Guo <[email protected]>
---
 openembedded-layer/recipes-kernel/asf/asf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openembedded-layer/recipes-kernel/asf/asf_git.bb 
b/openembedded-layer/recipes-kernel/asf/asf_git.bb
index 676c547..71eb46b 100644
--- a/openembedded-layer/recipes-kernel/asf/asf_git.bb
+++ b/openembedded-layer/recipes-kernel/asf/asf_git.bb
@@ -20,7 +20,7 @@ do_install(){
        mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/asf
        cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf 
        cp -rf ${S}/bin/min  ${D}/lib/modules/${KERNEL_VERSION}/asf
-       cp -rf ${S}/scripts ${D}/${libexecdir}/
+       cp -rf ${S}/../scripts ${D}/${libexecdir}/
 }
 
 FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf"
-- 
1.9.2

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to