diff options
author | Ross Burton <ross.burton@arm.com> | 2022-07-11 14:19:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-25 15:11:46 +0100 |
commit | ae5fb5a00dc9d05edc3c92af9b859b7cb1383e5f (patch) | |
tree | b6fb1a41137fc13c75e936efa73691bfcc0fd254 /meta/recipes-devtools | |
parent | 9489baf01155439f03c04aa4367aa14f1d7104d7 (diff) | |
download | poky-ae5fb5a00dc9d05edc3c92af9b859b7cb1383e5f.tar.gz |
perl: don't install Makefile.old into perl-ptest
We already exclude Makefile, makefile, and makefile.old from copy of the
perl source tree that is used by perl-ptest, but Makefile.old is not
being excluded. In a rebuild of perl with an existing source tree these
files now exist but have build paths in. As they're backup files, they
can just be excluded from the packages.
Use range globs to clean up the expressions, and exclude Makefile.old.
(From OE-Core rev: d6ec3784c530714182a1cf1ac693ca35ef0b4f57)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30a99affca7930f7fe0ddeb016b6183240b5f13c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/perl/perl-ptest.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index 54c7807571..c233fab545 100644 --- a/meta/recipes-devtools/perl/perl-ptest.inc +++ b/meta/recipes-devtools/perl/perl-ptest.inc | |||
@@ -10,12 +10,12 @@ do_install_ptest () { | |||
10 | sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/* | 10 | sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/* |
11 | sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl | 11 | sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl |
12 | sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh | 12 | sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh |
13 | tar -c --exclude=try --exclude=a.out --exclude='*.o' --exclude=libperl.so* --exclude=Makefile --exclude=makefile --exclude=hostperl \ | 13 | tar -c --exclude=try --exclude=a.out --exclude='*.o' --exclude=libperl.so* --exclude=[Mm]akefile --exclude=hostperl \ |
14 | --exclude=cygwin --exclude=os2 --exclude=djgpp --exclude=qnx --exclude=symbian --exclude=haiku \ | 14 | --exclude=cygwin --exclude=os2 --exclude=djgpp --exclude=qnx --exclude=symbian --exclude=haiku \ |
15 | --exclude=vms --exclude=vos --exclude=NetWare --exclude=amigaos4 --exclude=buildcustomize.pl \ | 15 | --exclude=vms --exclude=vos --exclude=NetWare --exclude=amigaos4 --exclude=buildcustomize.pl \ |
16 | --exclude='win32/config.*' --exclude=plan9 --exclude=README.plan9 --exclude=perlplan9.pod --exclude=Configure \ | 16 | --exclude='win32/config.*' --exclude=plan9 --exclude=README.plan9 --exclude=perlplan9.pod --exclude=Configure \ |
17 | --exclude=veryclean.sh --exclude=realclean.sh --exclude=getioctlsizes \ | 17 | --exclude=veryclean.sh --exclude=realclean.sh --exclude=getioctlsizes \ |
18 | --exclude=dl_aix.xs --exclude=sdbm.3 --exclude='cflags.SH' --exclude=makefile.old \ | 18 | --exclude=dl_aix.xs --exclude=sdbm.3 --exclude='cflags.SH' --exclude=[Mm]akefile.old \ |
19 | --exclude=miniperl --exclude=generate_uudmap --exclude=patches --exclude='config.log' * | ( cd ${D}${PTEST_PATH} && tar -x ) | 19 | --exclude=miniperl --exclude=generate_uudmap --exclude=patches --exclude='config.log' * | ( cd ${D}${PTEST_PATH} && tar -x ) |
20 | 20 | ||
21 | ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl | 21 | ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl |