summaryrefslogtreecommitdiffstats
path: root/meta/classes/staging.bbclass
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-01-18 19:58:02 -0800
committerSaul Wold <sgw@linux.intel.com>2011-01-21 01:36:15 -0800
commit14770205c1de2753f10cbb0d0703113aefb21a73 (patch)
tree460f2083f1ca94d7c788ee05082bfaa42f91d829 /meta/classes/staging.bbclass
parent1a7509d673023da5d1db579450beb897129a30e8 (diff)
downloadpoky-14770205c1de2753f10cbb0d0703113aefb21a73.tar.gz
staging.bbclass, utils.bbclass: remove la mangling code
libtool v2.4 --with-libtool-sysroot eliminates the need for la mangling. Based on Khem Raj's OE commits. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/classes/staging.bbclass')
-rw-r--r--meta/classes/staging.bbclass14
1 files changed, 0 insertions, 14 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index a7f3258b4a..438cf375b9 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -26,20 +26,6 @@ sysroot_stage_libdir() {
26 dest="$2" 26 dest="$2"
27 27
28 sysroot_stage_dir $src $dest 28 sysroot_stage_dir $src $dest
29
30 olddir=`pwd`
31 cd $dest
32 las=$(find . -name \*.la -type f)
33 cd $olddir
34 echo "Found la files: $las"
35 for i in $las
36 do
37 sed -e 's/^installed=yes$/installed=no/' \
38 -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' \
39 -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${STAGING_LIBDIR},g" \
40 -e "/^dependency_libs=/s,\([[:space:]']\)${base_libdir},\1${STAGING_DIR_HOST}${base_libdir},g" \
41 -i $dest/$i
42 done
43} 29}
44 30
45sysroot_stage_dirs() { 31sysroot_stage_dirs() {