aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/scons.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/scons.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/scons.bbclass')
-rw-r--r--meta/classes/scons.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass
index 534b3bd4c70..211746fd0f9 100644
--- a/meta/classes/scons.bbclass
+++ b/meta/classes/scons.bbclass
@@ -2,12 +2,12 @@ DEPENDS += "python-scons-native"
scons_do_compile() {
${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \
- oefatal "scons build execution failed."
+ bbfatal "scons build execution failed."
}
scons_do_install() {
${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \
- oefatal "scons install execution failed."
+ bbfatal "scons install execution failed."
}
EXPORT_FUNCTIONS do_compile do_install