* 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>
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"