[poky] [PATCH 2/2] logging: delete the oe(note|warn|fatal|debug) functions
Darren Hart
dvhart at linux.intel.com
Thu Apr 28 23:29:58 PDT 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 b05ebff..5c7c1bb 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.1
More information about the poky
mailing list