bitbake does not return 0 when a build succeeds. Instead lets look and make sure the pseudo binaries are created as a proper test of success
Signed-off-by: Matthew McClintock <m...@freescale.com> --- scripts/bitbake | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/bitbake b/scripts/bitbake index 587428c..4f4a179 100755 --- a/scripts/bitbake +++ b/scripts/bitbake @@ -61,13 +61,12 @@ if [ $buildpseudo = "1" ]; then TARTARGET="" fi bitbake pseudo-native $TARTARGET -c populate_sysroot + PSEUDOBINDIR=`bitbake -e | grep STAGING_BINDIR_NATIVE=\" | cut -d '=' -f2 | cut -d '"' -f2` ret=$? if [ "$ret" != "0" ]; then exit 1 fi - PSEUDOBINDIR=`bitbake -e | grep STAGING_BINDIR_NATIVE=\" | cut -d '=' -f2 | cut -d '"' -f2` - ret=$? - if [ "$ret" != "0" ]; then + if [ ! -e $PSEUDOBINDIR/pseudo ]; then exit 1 fi echo $PSEUDOBINDIR > $BUILDDIR/pseudodone -- 1.7.6.1 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core