perl: remove unneeded patches in ptest directory
authorChong Lu <Chong.Lu@windriver.com>
Thu, 18 Sep 2014 05:20:28 +0000 (13:20 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Sep 2014 12:04:23 +0000 (13:04 +0100)
The perl patches have been copied to ptest directory and these patches in
target rootfs are linked to build dir. The ptest of perl doesn't need these
patches, so remove them from target.

(From OE-Core rev: 1982095255917befd93ed14f9abc1f9fc4149f99)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl-ptest.inc

index 6a9df4a..948ea7c 100644 (file)
@@ -8,7 +8,7 @@ do_install_ptest () {
        sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl
        sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh
        tar -cf - * --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \
-               --exclude miniperl --exclude generate_uudmap | ( cd ${D}${PTEST_PATH} && tar -xf - )
+               --exclude miniperl --exclude generate_uudmap --exclude patches | ( cd ${D}${PTEST_PATH} && tar -xf - )
 
        sed -i -e "s,${D},,g" \
               -e "s,--sysroot=${STAGING_DIR_HOST},,g" \