[OE-core] [PATCH 09/33] logging: delete the oe(note|warn|fatal|debug) functions

Saul Wold sgw at linux.intel.com
Tue May 3 23:44:33 UTC 2011


From: Darren Hart <dvhart at linux.intel.com>

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 at linux.intel.com>
---
 meta/classes/base.bbclass |   27 +--------------------------
 1 files changed, 1 insertions(+), 26 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 798593e..ca53940 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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() {
-- 
1.7.4.1





More information about the Openembedded-core mailing list