summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-04-24 15:45:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-29 14:45:06 +0100
commit3e79775a827a4256dd48160dcaaa98f5250c1499 (patch)
tree797e4acda89e651a74142acdbe6870c2ff3be55c
parent2895bcf95a1ecb7feea1c6b458d8431cbf2c64f0 (diff)
downloadpoky-3e79775a827a4256dd48160dcaaa98f5250c1499.tar.gz
cpan.bbclass: use '|' as sed separator for entry with paths
With normal toolchain it works. But fails badly when external Linaro toolchain is used. And this is why: -e "s/^\(CCFLAGS =.*\)/\1 -isystem/home/hrw/devel/canonical/aarch64/openembedded/build/linaro-tcwg/gcc-linaro-aarch64-linux-gnu-4.7-2013.04-20130415_linux//aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types/" \ (From OE-Core rev: f6244a9d3da7c301f19efc114c2aaf39e5eec299) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 957a6e2bfa..bef9e82685 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -26,7 +26,7 @@ cpan_do_configure () {
26 test -f $f2 || continue 26 test -f $f2 || continue
27 sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \ 27 sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \
28 -e 's/perl.real/perl/' \ 28 -e 's/perl.real/perl/' \
29 -e "s/^\(CCFLAGS =.*\)/\1 ${CFLAGS}/" \ 29 -e "s|^\(CCFLAGS =.*\)|\1 ${CFLAGS}|" \
30 $f2 30 $f2
31 done 31 done
32 fi 32 fi