[meta-freescale] [meta-fsl-arm][PATCH] asf : fix scripts path

b40290 at freescale.com b40290 at freescale.com
Sun Jan 18 19:50:14 PST 2015


From: Chunrong Guo <B40290 at freescale.com>

  * 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 <B40290 at freescale.com>
---
 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



More information about the meta-freescale mailing list