aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/utils.bbclass
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-04-28 21:49:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:49:33 +0100
commita1f09fce5caba389d0484b169f0cde85d64514fa (patch)
tree53464597ac08390625583a4ba47a9ae637405b04 /meta/classes/utils.bbclass
parent123a7f49753aef4d5ccb5f5a5590c3c88775c6d0 (diff)
downloadopenembedded-core-contrib-a1f09fce5caba389d0484b169f0cde85d64514fa.tar.gz
logging: update existing oe* logging users to the bb* interface
The new bash logging class provides bbnote, bbwarn, bbfatal, and bbdebug replacements (as well as bbplain and bberror) for the oe* equivalents. Use the new bb* API in preparation to delete the oe* logging API. This patch was automatically generated by a sed script. The result has been visually inspected and used to build core-image-sato for qemux86. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r--meta/classes/utils.bbclass20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index e923789c14..6bcaf86b05 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -91,7 +91,7 @@ oe_soinstall() {
#
# oe_
#
- #oenote installing shared library $1 to $2
+ #bbnote installing shared library $1 to $2
#
libname=`basename $1`
install -m 755 $1 $2/$libname
@@ -129,7 +129,7 @@ oe_libinstall() {
require_shared=1
;;
-*)
- oefatal "oe_libinstall: unknown option: $1"
+ bbfatal "oe_libinstall: unknown option: $1"
;;
*)
break;
@@ -142,7 +142,7 @@ oe_libinstall() {
shift
destpath="$1"
if [ -z "$destpath" ]; then
- oefatal "oe_libinstall: no destination path specified"
+ bbfatal "oe_libinstall: no destination path specified"
fi
if echo "$destpath/" | egrep '^${STAGING_LIBDIR}/' >/dev/null
then
@@ -165,7 +165,7 @@ oe_libinstall() {
# Sanity check that the libname.lai is unique
number_of_files=`(cd $dir; find . -name "$dotlai") | wc -l`
if [ $number_of_files -gt 1 ]; then
- oefatal "oe_libinstall: $dotlai is not unique in $dir"
+ bbfatal "oe_libinstall: $dotlai is not unique in $dir"
fi
@@ -209,7 +209,7 @@ oe_libinstall() {
for f in $files; do
if [ ! -e "$f" ]; then
if [ -n "$libtool" ]; then
- oefatal "oe_libinstall: $dir/$f not found."
+ bbfatal "oe_libinstall: $dir/$f not found."
fi
elif [ -L "$f" ]; then
__runcmd cp -P "$f" $destpath/
@@ -223,7 +223,7 @@ oe_libinstall() {
if [ -z "$libfile" ]; then
if [ -n "$require_shared" ]; then
- oefatal "oe_libinstall: unable to locate shared library"
+ bbfatal "oe_libinstall: unable to locate shared library"
fi
elif [ -z "$libtool" ]; then
# special case hack for non-libtool .so.#.#.# links
@@ -256,17 +256,17 @@ oe_machinstall() {
for o in `echo ${OVERRIDES} | tr ':' ' '`; do
if [ -e $dirname/$o/$filename ]; then
- oenote $dirname/$o/$filename present, installing to $4
+ bbnote $dirname/$o/$filename present, installing to $4
install $1 $2 $dirname/$o/$filename $4
return
fi
done
-# oenote overrides specific file NOT present, trying default=$3...
+# bbnote overrides specific file NOT present, trying default=$3...
if [ -e $3 ]; then
- oenote $3 present, installing to $4
+ bbnote $3 present, installing to $4
install $1 $2 $3 $4
else
- oenote $3 NOT present, touching empty $4
+ bbnote $3 NOT present, touching empty $4
touch $4
fi
}