From patchwork Tue May 3 23:44:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [09/33] logging: delete the oe(note|warn|fatal|debug) functions Date: Tue, 03 May 2011 23:44:33 -0000 From: Saul Wold X-Patchwork-Id: 3131 Message-Id: <2995f590d13e7db946922ac96dd0664d2b60d4a9.1304465724.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org Cc: Xiaofeng Yan , Ilya Yanok , Darren Hart , Paul Eggleton , Kang Kai , Koen Kooi From: Darren Hart 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 --- 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 798593e..ca53940 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() {