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/scons.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/scons.bbclass')
-rw-r--r-- | meta/classes/scons.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index 534b3bd4c7..211746fd0f 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass | |||
@@ -2,12 +2,12 @@ DEPENDS += "python-scons-native" | |||
2 | 2 | ||
3 | scons_do_compile() { | 3 | scons_do_compile() { |
4 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \ | 4 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \ |
5 | oefatal "scons build execution failed." | 5 | bbfatal "scons build execution failed." |
6 | } | 6 | } |
7 | 7 | ||
8 | scons_do_install() { | 8 | scons_do_install() { |
9 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \ | 9 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \ |
10 | oefatal "scons install execution failed." | 10 | bbfatal "scons install execution failed." |
11 | } | 11 | } |
12 | 12 | ||
13 | EXPORT_FUNCTIONS do_compile do_install | 13 | EXPORT_FUNCTIONS do_compile do_install |