[oe-commits] Ross Burton : pseudo: use bbnote/bbwarn instead of echo

git at git.openembedded.org git at git.openembedded.org
Thu Sep 26 16:03:02 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 4933d7ae45d88090191c8ea07fd109ed34925e2d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4933d7ae45d88090191c8ea07fd109ed34925e2d

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Sep 26 11:41:35 2013 +0100

pseudo: use bbnote/bbwarn instead of echo

In the future bbnote/bbwarn will be integrated into bitbake's logging, so use
those functions instead of echo directly.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/pseudo/pseudo.inc |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index a4b7aaf..a287629 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -56,15 +56,15 @@ maybe_make32() {
 	fi
 	if $make32; then
 		if ! [ -e "/usr/include/gnu/stubs-32.h" ]; then
-			echo >&2 "WARNING: Can't find stubs-32.h, but usually need it to build 32-bit libpseudo."
-			echo >&2 "If the build fails, install 32-bit developer packages."
-			echo >&2 "If you are using 32-bit binaries, the 32-bit libpseudo is NOT optional."
+			bbwarn "Can't find stubs-32.h, but usually need it to build 32-bit libpseudo."
+			bbwarn "If the build fails, install 32-bit developer packages."
+			bbwarn "If you are using 32-bit binaries, the 32-bit libpseudo is NOT optional."
 		else
-			echo "Attempting to build 32-bit libpseudo.so for ${PN}."
+			bbnote "Attempting to build 32-bit libpseudo.so for ${PN}."
 		fi
 	else
-		echo "Building/installing only 64-bit libpseudo.so for ${PN}."
-		echo "If you need to run 32-bit executables, ensure that NO32LIBS is set to 0."
+		bbnote "Building/installing only 64-bit libpseudo.so for ${PN}."
+		bbnote "If you need to run 32-bit executables, ensure that NO32LIBS is set to 0."
 	fi
 }
 



More information about the Openembedded-commits mailing list