summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-26 10:02:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-26 11:37:31 +0000
commitd332f1881f362cef88f2b9f40186482ac612c2d0 (patch)
tree63d28d6d017bcde6285b92c92798250849330838 /meta/recipes-devtools/perl
parentdb9b8bc9a34f3f486d6ce948a073a1f042d9dbb7 (diff)
downloadast2050-yocto-poky-d332f1881f362cef88f2b9f40186482ac612c2d0.zip
ast2050-yocto-poky-d332f1881f362cef88f2b9f40186482ac612c2d0.tar.gz
perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many times
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl_5.12.2.bb12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.12.2.bb b/meta/recipes-devtools/perl/perl_5.12.2.bb
index 9137b40..e7e1cb4 100644
--- a/meta/recipes-devtools/perl/perl_5.12.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.12.2.bb
@@ -139,13 +139,11 @@ do_configure() {
-e 's,/perl5,/perl,g' \
config.sh-${TARGET_ARCH}-${TARGET_OS}
- if test "${MACHINE}" != "native"; then
- # These are strewn all over the source tree
- for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
- echo Fixing: $foo
- sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
- done
- fi
+ # These are strewn all over the source tree
+ for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
+ echo Fixing: $foo
+ sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
+ done
rm -f config
echo "ARCH = ${TARGET_ARCH}" > config
OpenPOWER on IntegriCloud