From fc934af7c843a899f41d43fdb239d255da777903 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Thu, 28 Apr 2011 21:49:31 -0700 Subject: logging: update existing oe* logging users to the bb* interface The new bash logging class provides bbnote, bbwarn, bbfatal, and bbdebug replacements (as well as bbplain and bberror) for the oe* equivalents. Use the new bb* API in preparation to delete the oe* logging API. This patch was automatically generated by a sed script. The result has been visually inspected and used to build core-image-sato for qemux86. (From OE-Core rev: a1f09fce5caba389d0484b169f0cde85d64514fa) Signed-off-by: Darren Hart Signed-off-by: Richard Purdie --- meta/classes/autotools.bbclass | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'meta/classes/autotools.bbclass') diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index cbd2e9666e..27f4a01f12 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -70,10 +70,10 @@ oe_runconf () { if [ -x ${S}/configure ] ; then cfgcmd="${S}/configure \ ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" - oenote "Running $cfgcmd..." - $cfgcmd || oefatal "oe_runconf failed" + bbnote "Running $cfgcmd..." + $cfgcmd || bbfatal "oe_runconf failed" else - oefatal "no configure script found" + bbfatal "no configure script found" fi } @@ -132,7 +132,7 @@ autotools_do_configure() { if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then : do nothing -- we still have an old unmodified configure.ac else - oenote Executing glib-gettextize --force --copy + bbnote Executing glib-gettextize --force --copy echo "no" | glib-gettextize --force --copy fi else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then @@ -142,11 +142,11 @@ autotools_do_configure() { fi mkdir -p m4 if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then - oenote Executing intltoolize --copy --force --automake + bbnote Executing intltoolize --copy --force --automake intltoolize --copy --force --automake fi - oenote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths - autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed." + bbnote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths + autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || bbfatal "autoreconf execution failed." cd $olddir fi ;; @@ -154,7 +154,7 @@ autotools_do_configure() { if [ -e ${S}/configure ]; then oe_runconf else - oenote "nothing to configure" + bbnote "nothing to configure" fi } -- cgit v1.2.3-54-g00ecf