diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-04-28 21:52:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:54:37 +0100 |
commit | 7ec1a51e8ac266632465c34304a2d6f95f9e94cf (patch) | |
tree | 60d27bc68f476acd36c0cfb2a434b6818dedeb67 /meta/classes | |
parent | fc934af7c843a899f41d43fdb239d255da777903 (diff) | |
download | poky-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.bbclass | 27 |
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 () { | |||
37 | addhandler sys_path_eh | 37 | addhandler sys_path_eh |
38 | 38 | ||
39 | die() { | 39 | die() { |
40 | oefatal "$*" | 40 | bbfatal "$*" |
41 | } | ||
42 | |||
43 | oenote() { | ||
44 | echo "NOTE:" "$*" | ||
45 | } | ||
46 | |||
47 | oewarn() { | ||
48 | echo "WARNING:" "$*" | ||
49 | } | ||
50 | |||
51 | oefatal() { | ||
52 | echo "FATAL:" "$*" | ||
53 | exit 1 | ||
54 | } | ||
55 | |||
56 | oedebug() { | ||
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 | ||
68 | oe_runmake() { | 43 | oe_runmake() { |