1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Darren Hart
2011-04-28 21:52:50 -07:00
committed by Richard Purdie
parent fc934af7c8
commit 7ec1a51e8a
+1 -26
View 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() {