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 | |||
152 | fi | 152 | fi |
153 | done | 153 | done |
154 | done | 154 | done |
155 | bitbake pseudo-native $TARTARGET $GITTARGET $additionalopts -c populate_sysroot | 155 | |
156 | if [ $needtar = "1" ]; then | ||
157 | bitbake $TARTARGET -c populate_sysroot | ||
158 | fi | ||
159 | |||
160 | bitbake pseudo-native $GITTARGET $additionalopts -c populate_sysroot | ||
156 | ret=$? | 161 | ret=$? |
157 | if [ "$ret" != "0" ]; then | 162 | if [ "$ret" != "0" ]; then |
158 | exit 1 | 163 | exit 1 |