]> code.ossystems Code Review - meta-freescale.git/commitdiff
asf: fix scripts path
authorChunrong Guo <B40290@freescale.com>
Mon, 19 Jan 2015 03:50:14 +0000 (11:50 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 22 Jan 2015 11:48:28 +0000 (09:48 -0200)
  * 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@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb

index 676c54799d3e8e9d97f443e56d6b892a41e1de1a..71eb46b779f6a503cfa1b764172741dcee9218c0 100644 (file)
@@ -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"