[oe-commits] org.oe.dev perl: More shared library fixes for sh3/sh4, this time for the shared

lenehan commit openembedded-commits at lists.openembedded.org
Fri Sep 29 09:07:06 UTC 2006


perl: More shared library fixes for sh3/sh4, this time for the shared
libraries used by standard perl modules. This was picking up LD from OE
which as the linking when we need to use gcc to link. Override LD when
calling oe_make to force the use of gcc to link.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 97115e9b81086faf8f52b3ba9c1cbbf13fac701c
ViewMTN: http://monotone.openembedded.org/revision.psp?id=97115e9b81086faf8f52b3ba9c1cbbf13fac701c
Files:
1
packages/perl/perl.inc
packages/perl/perl_5.8.7.bb
Diffs:

#
# mt diff -ra8a3cbf41772d18ea2ee4b70fb892f7e9dd83174 -r97115e9b81086faf8f52b3ba9c1cbbf13fac701c
#
# 
# 
# patch "packages/perl/perl.inc"
#  from [18b7932d814526732508579b66376f58e95726d9]
#    to [068c46a4d5219b803c6ba87b24ff48fff1a8411d]
# 
# patch "packages/perl/perl_5.8.7.bb"
#  from [88bb9c33126dc36e9b6ecfbdab494d1d1b974a7d]
#    to [589f36c695ccc60a38ae93cf29d199d419103ee3]
# 
============================================================
--- packages/perl/perl.inc	18b7932d814526732508579b66376f58e95726d9
+++ packages/perl/perl.inc	068c46a4d5219b803c6ba87b24ff48fff1a8411d
@@ -41,7 +41,12 @@ do_compile() {
 do_compile() {
 	sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL
 	cd Cross
-	oe_runmake perl
+	# You must use gcc to link on sh
+	OPTIONS=""
+	if test ${TARGET_ARCH} = "sh3" -o ${TARGET_ARCH} = "sh4"; then
+		OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc"
+	fi
+	oe_runmake perl $OPTIONS
 }
 
 do_install() {
============================================================
--- packages/perl/perl_5.8.7.bb	88bb9c33126dc36e9b6ecfbdab494d1d1b974a7d
+++ packages/perl/perl_5.8.7.bb	589f36c695ccc60a38ae93cf29d199d419103ee3
@@ -19,7 +19,7 @@ PARALLEL_MAKE = ""
 
 PARALLEL_MAKE = ""
 
-PR = "r18"
+PR = "r19"
 
 do_configure() {
 	ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl






More information about the Openembedded-commits mailing list