]> code.ossystems Code Review - openembedded-core.git/commit
perl: Don't use TARGET_ARCH in filepaths
authorWilliam A. Kennington III via Openembedded-core <openembedded-core@lists.openembedded.org>
Tue, 2 Apr 2019 21:53:47 +0000 (14:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Apr 2019 13:46:57 +0000 (14:46 +0100)
commit6eadd9f5ac2887311ae9ed133b389ae4d64a8181
tree81701a61021c49beb08c78d4b59298c98bff0ebf
parent1756f2354745ee709886683422887efed4e10dba
perl: Don't use TARGET_ARCH in filepaths

Platforms like powerpc64le have different variants of the same target.
Perl guesses that the target should be called powerpc64le-linux, while
TARGET_ARCH think it is called ppc64le-linux. If we use TARGET_ARCH
for perl-native on powerpc64le this build will fail since the
post-install rm command won't reference and existing file.

We know that there is only one arch existing per build, so use a
wildcard for finding the path instead of trying to guess the correct
architecture name.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl-sanity/perl_5.28.1.bb