diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-03-11 15:04:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-23 13:00:52 +0100 |
commit | a5bdceea552ed7fde095b69082f5527dd22d4539 (patch) | |
tree | 08418d6066bbbb03b67e14d7e82625bb308555a5 /scripts/oe-setup-builddir | |
parent | a3dfd0dc1b116603a072ec4627df4eb2093909e3 (diff) | |
download | poky-a5bdceea552ed7fde095b69082f5527dd22d4539.tar.gz |
populate_sdk_base.bbclass:fix toolchain relocation issues
When run "autoreconf" in toolchain, there is an error if the host's perl's
version is not the same as the one in the SDK, the error says that the
executable perl mismatches the perl lib's version.
This is because most of the autotools' scripts use the "#!/usr/bin/perl -w"
which is host perl, but the gnu-configize uses "#! /usr/bin/env perl" which
invokes the perl wrapper in the SDK, and the wrapper will set the PERL5LIB to
the SDK which causes the mismatch. We can make all the perl scripts to use the
host perl or the SDK perl to fix this problem.
Cherry-pick commit aeb53bd78991af9fbb60d64176ec864cfc2ddbb9
[YOCTO #3984]
(From OE-Core rev: 9c10356bde6d303d84daadb8c1170e08e774f5af)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-setup-builddir')
0 files changed, 0 insertions, 0 deletions