diff options
-rwxr-xr-x | scripts/bitbake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/bitbake b/scripts/bitbake index 09f8a86240..79a81eaf0f 100755 --- a/scripts/bitbake +++ b/scripts/bitbake @@ -152,7 +152,12 @@ if [ $buildpseudo -gt 0 ]; then fi done done - bitbake pseudo-native $TARTARGET $GITTARGET $additionalopts -c populate_sysroot + + if [ $needtar = "1" ]; then + bitbake $TARTARGET -c populate_sysroot + fi + + bitbake pseudo-native $GITTARGET $additionalopts -c populate_sysroot ret=$? if [ "$ret" != "0" ]; then exit 1 |