projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f1147e
)
Split build_arch as individual arch while checking emulator arch (thanks xiaoqiang0)
author
Michael Schroeder
<mls@suse.de>
Thu, 27 Sep 2012 16:27:56 +0000
(18:27 +0200)
committer
Michael Schroeder
<mls@suse.de>
Thu, 27 Sep 2012 16:27:56 +0000
(18:27 +0200)
common_functions
patch
|
blob
|
history
diff --git
a/common_functions
b/common_functions
index
9eb437d
..
da0c093
100755
(executable)
--- a/
common_functions
+++ b/
common_functions
@@
-45,8
+45,9
@@
check_exit()
is_emulator_arch()
{
local arch
+ local qarch=":$BUILD_ARCH:"
for arch in $EMULATOR_ARCHS; do
- if test "$
BUILD_ARCH" = "$arch
" -a "$BUILD_HOST_ARCH" != "$arch"; then
+ if test "$
qarch" != "${qarch/:$arch:/}
" -a "$BUILD_HOST_ARCH" != "$arch"; then
return 0
fi
done