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. (From OE-Core rev: 4933d7ae45d88090191c8ea07fd109ed34925e2d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
68ec3d4925
commit
601e1a740b
|
@ -56,15 +56,15 @@ maybe_make32() {
|
||||||
fi
|
fi
|
||||||
if $make32; then
|
if $make32; then
|
||||||
if ! [ -e "/usr/include/gnu/stubs-32.h" ]; 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."
|
bbwarn "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."
|
bbwarn "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 "If you are using 32-bit binaries, the 32-bit libpseudo is NOT optional."
|
||||||
else
|
else
|
||||||
echo "Attempting to build 32-bit libpseudo.so for ${PN}."
|
bbnote "Attempting to build 32-bit libpseudo.so for ${PN}."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Building/installing only 64-bit libpseudo.so for ${PN}."
|
bbnote "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 "If you need to run 32-bit executables, ensure that NO32LIBS is set to 0."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue