summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-04-28 21:52:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:54:37 +0100
commit7ec1a51e8ac266632465c34304a2d6f95f9e94cf (patch)
tree60d27bc68f476acd36c0cfb2a434b6818dedeb67 /meta/classes
parentfc934af7c843a899f41d43fdb239d255da777903 (diff)
downloadpoky-7ec1a51e8ac266632465c34304a2d6f95f9e94cf.tar.gz
logging: delete the oe(note|warn|fatal|debug) functions
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. (From OE-Core rev: 168d94be0e28fcbefda9df07d6d1b0cfd96e75fc) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass27
1 files changed, 1 insertions, 26 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index c168ff5ed4..5f03de8247 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -37,32 +37,7 @@ python sys_path_eh () {
37addhandler sys_path_eh 37addhandler sys_path_eh
38 38
39die() { 39die() {
40 oefatal "$*" 40 bbfatal "$*"
41}
42
43oenote() {
44 echo "NOTE:" "$*"
45}
46
47oewarn() {
48 echo "WARNING:" "$*"
49}
50
51oefatal() {
52 echo "FATAL:" "$*"
53 exit 1
54}
55
56oedebug() {
57 if [ $# -lt 2]; then
58 echo "Usage: oedebug level \"message\""
59 exit 1
60 fi
61
62 if [ ${OEDEBUG:-0} -ge $1 ]; then
63 shift
64 echo "DEBUG:" $*
65 fi
66} 41}
67 42
68oe_runmake() { 43oe_runmake() {