summaryrefslogtreecommitdiffstats
path: root/scripts/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bitbake')
-rwxr-xr-xscripts/bitbake3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/bitbake b/scripts/bitbake
index cad4dbe1b4..29e7bcd8fe 100755
--- a/scripts/bitbake
+++ b/scripts/bitbake
@@ -27,6 +27,7 @@ OLDPATH=$PATH
27export PATH=`echo $PATH | sed s#[^:]*/scripts:##` 27export PATH=`echo $PATH | sed s#[^:]*/scripts:##`
28if [ $buildpseudo = "1" ]; then 28if [ $buildpseudo = "1" ]; then
29 echo "Pseudo is not present but is required, building this first before the main build" 29 echo "Pseudo is not present but is required, building this first before the main build"
30 export PSEUDO_BUILD=1
30 bitbake pseudo-native tar-replacement-native -c populate_sysroot 31 bitbake pseudo-native tar-replacement-native -c populate_sysroot
31 ret=$? 32 ret=$?
32 if [ "$ret" != "0" ]; then 33 if [ "$ret" != "0" ]; then
@@ -44,9 +45,11 @@ fi
44BITBAKE=`which bitbake` 45BITBAKE=`which bitbake`
45export PATH=$OLDPATH 46export PATH=$OLDPATH
46if [ $needpseudo = "1" ]; then 47if [ $needpseudo = "1" ]; then
48 export PSEUDO_BUILD=2
47 PSEUDOBINDIR=`cat $BUILDDIR/pseudodone` 49 PSEUDOBINDIR=`cat $BUILDDIR/pseudodone`
48 PSEUDO_BINDIR=$PSEUDOBINDIR PSEUDO_LIBDIR=$PSEUDOBINDIR/../lib/pseudo/lib PSEUDO_PREFIX=$PSEUDOBINDIR/../../ PSEUDO_DISABLED=1 $PSEUDOBINDIR/pseudo $BITBAKE $@ 50 PSEUDO_BINDIR=$PSEUDOBINDIR PSEUDO_LIBDIR=$PSEUDOBINDIR/../lib/pseudo/lib PSEUDO_PREFIX=$PSEUDOBINDIR/../../ PSEUDO_DISABLED=1 $PSEUDOBINDIR/pseudo $BITBAKE $@
49else 51else
52 export PSEUDO_BUILD=0
50 $BITBAKE $@ 53 $BITBAKE $@
51fi 54fi
52ret=$? 55ret=$?