Update bbclasses from OE

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@266 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2006-02-10 11:38:23 +00:00
parent 9df0203e2b
commit 31116d6c7e
9 changed files with 81 additions and 21 deletions

View File

@@ -171,9 +171,8 @@ oe_libinstall() {
if [ -z "$dir" ]; then
dir=`pwd`
fi
if [ -d "$dir/.libs" ]; then
dir=$dir/.libs
fi
dotlai=$libname.lai
dir=$dir`(cd $dir; find -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"`
olddir=`pwd`
__runcmd cd $dir
@@ -191,7 +190,6 @@ oe_libinstall() {
if [ -f "$dota" -o -n "$require_static" ]; then
__runcmd install -m 0644 $dota $destpath/
fi
dotlai=$libname.lai
if [ -f "$dotlai" -a -n "$libtool" ]; then
if test -n "$staging_install"
then
@@ -724,9 +722,9 @@ python __anonymous () {
pn = bb.data.getVar('PN', d, 1)
cvsdate = bb.data.getVar('CVSDATE_%s' % pn, d, 1)
if cvsdate != None:
bb.data.setVar('CVSDATE', cvsdate, d)
srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1)
if srcdate != None:
bb.data.setVar('SRCDATE', srcdate, d)
use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
if use_nls != None: