summaryrefslogtreecommitdiffstats
path: root/openembedded/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/classes/base.bbclass')
-rw-r--r--openembedded/classes/base.bbclass12
1 files changed, 5 insertions, 7 deletions
diff --git a/openembedded/classes/base.bbclass b/openembedded/classes/base.bbclass
index c5359b20f8..9b87828594 100644
--- a/openembedded/classes/base.bbclass
+++ b/openembedded/classes/base.bbclass
@@ -171,9 +171,8 @@ oe_libinstall() {
171 if [ -z "$dir" ]; then 171 if [ -z "$dir" ]; then
172 dir=`pwd` 172 dir=`pwd`
173 fi 173 fi
174 if [ -d "$dir/.libs" ]; then 174 dotlai=$libname.lai
175 dir=$dir/.libs 175 dir=$dir`(cd $dir; find -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"`
176 fi
177 olddir=`pwd` 176 olddir=`pwd`
178 __runcmd cd $dir 177 __runcmd cd $dir
179 178
@@ -191,7 +190,6 @@ oe_libinstall() {
191 if [ -f "$dota" -o -n "$require_static" ]; then 190 if [ -f "$dota" -o -n "$require_static" ]; then
192 __runcmd install -m 0644 $dota $destpath/ 191 __runcmd install -m 0644 $dota $destpath/
193 fi 192 fi
194 dotlai=$libname.lai
195 if [ -f "$dotlai" -a -n "$libtool" ]; then 193 if [ -f "$dotlai" -a -n "$libtool" ]; then
196 if test -n "$staging_install" 194 if test -n "$staging_install"
197 then 195 then
@@ -724,9 +722,9 @@ python __anonymous () {
724 722
725 pn = bb.data.getVar('PN', d, 1) 723 pn = bb.data.getVar('PN', d, 1)
726 724
727 cvsdate = bb.data.getVar('CVSDATE_%s' % pn, d, 1) 725 srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1)
728 if cvsdate != None: 726 if srcdate != None:
729 bb.data.setVar('CVSDATE', cvsdate, d) 727 bb.data.setVar('SRCDATE', srcdate, d)
730 728
731 use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1) 729 use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
732 if use_nls != None: 730 if use_nls != None: