summaryrefslogtreecommitdiff
path: root/packages/perl/perl_5.8.7.bb
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-10-18 05:52:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-18 05:52:03 +0000
commitae1bd16742711951f262249e110cec4020ec69f8 (patch)
tree8403d453b09a0b217d6ac604dbfeb860c1d661cd /packages/perl/perl_5.8.7.bb
parent8cfbec017c980b26142ec8494e0bf321256bb332 (diff)
perl: NSLU2: fix LE config in 5.8.7
- the existing arm (le) config will not work with NSLU2 because of the - use of 32 bit assembler which is not thumb compatible, this change - uses a config file derived from the BE (NSLU2) config
Diffstat (limited to 'packages/perl/perl_5.8.7.bb')
-rw-r--r--packages/perl/perl_5.8.7.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/perl/perl_5.8.7.bb b/packages/perl/perl_5.8.7.bb
index bb8e0c5174..e78a4829af 100644
--- a/packages/perl/perl_5.8.7.bb
+++ b/packages/perl/perl_5.8.7.bb
@@ -3,6 +3,7 @@ MAINTAINER="David Karlstrom <daka@thg.se>"
include perl.inc
SRC_URI += "file://config.sh-armeb-linux \
+ file://config.sh-arm-linux \
file://config.sh-i386-linux"
PR = "r14"
@@ -17,6 +18,12 @@ do_configure() {
cp ${WORKDIR}/config.sh-i686-linux .
cp ${WORKDIR}/config.sh-i386-linux .
cp ${WORKDIR}/config.sh-armeb-linux .
+ # nslu2 LE uclibc builds do not work with the default config.sh
+ if test "${MACHINE}" = nslu2
+ then
+ rm -f ./config.sh-arm-linux
+ cp ${WORKDIR}/config.sh-arm-linux .
+ fi
for i in config.sh-*-linux; do
a="`echo $i|sed -e 's,^config.sh-,,; s,-linux$,,'`"
newfile="`echo $i|sed -e 's,-linux$,-linux-uclibc,g'`"