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:
committed by
Richard Purdie
parent
fc934af7c8
commit
7ec1a51e8a
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user