]> code.ossystems Code Review - openembedded-core.git/commitdiff
logging: delete the oe(note|warn|fatal|debug) functions
authorDarren Hart <dvhart@linux.intel.com>
Fri, 29 Apr 2011 04:52:50 +0000 (21:52 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 May 2011 23:49:42 +0000 (00:49 +0100)
The new logging.bbclass replaces the oe* logging functions with bb* equivalents.
There are no longer any users of the oe* API within oe-core. Remove the oe*
functions.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
meta/classes/base.bbclass

index 0a7f1d136155f6450d48659b9ec92ab1f71ed2c8..d9ed15fee40f076309ed0cd6c9f6488407a17044 100644 (file)
@@ -37,32 +37,7 @@ python sys_path_eh () {
 addhandler sys_path_eh
 
 die() {
-       oefatal "$*"
-}
-
-oenote() {
-       echo "NOTE:" "$*"
-}
-
-oewarn() {
-       echo "WARNING:" "$*"
-}
-
-oefatal() {
-       echo "FATAL:" "$*"
-       exit 1
-}
-
-oedebug() {
-       if [ $# -lt 2]; then
-               echo "Usage: oedebug level \"message\""
-               exit 1
-       fi
-
-       if [ ${OEDEBUG:-0} -ge $1 ]; then
-               shift
-               echo "DEBUG:" $*
-       fi
+       bbfatal "$*"
 }
 
 oe_runmake() {