diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-04-28 21:49:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:54:37 +0100 |
commit | fc934af7c843a899f41d43fdb239d255da777903 (patch) | |
tree | b3a9391af053141103455de4661f059e91bea035 /meta/classes/base.bbclass | |
parent | 0e2eb05f46192e179912160cc557f274148dcf15 (diff) | |
download | poky-fc934af7c843a899f41d43fdb239d255da777903.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.
(From OE-Core rev: a1f09fce5caba389d0484b169f0cde85d64514fa)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 3b83e42bf6..c168ff5ed4 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -67,7 +67,7 @@ oedebug() { | |||
67 | 67 | ||
68 | oe_runmake() { | 68 | oe_runmake() { |
69 | if [ x"$MAKE" = x ]; then MAKE=make; fi | 69 | if [ x"$MAKE" = x ]; then MAKE=make; fi |
70 | oenote ${MAKE} ${EXTRA_OEMAKE} "$@" | 70 | bbnote ${MAKE} ${EXTRA_OEMAKE} "$@" |
71 | ${MAKE} ${EXTRA_OEMAKE} "$@" || die "oe_runmake failed" | 71 | ${MAKE} ${EXTRA_OEMAKE} "$@" || die "oe_runmake failed" |
72 | } | 72 | } |
73 | 73 | ||
@@ -231,7 +231,7 @@ base_do_compile() { | |||
231 | if [ -e Makefile -o -e makefile ]; then | 231 | if [ -e Makefile -o -e makefile ]; then |
232 | oe_runmake || die "make failed" | 232 | oe_runmake || die "make failed" |
233 | else | 233 | else |
234 | oenote "nothing to compile" | 234 | bbnote "nothing to compile" |
235 | fi | 235 | fi |
236 | } | 236 | } |
237 | 237 | ||