Fix xcsoar source build

Makefile deps are insufficient and sometimes cause make exits. This is why we
let make run up to three times, to avoid this situation up to two times.
This commit is contained in:
Daniel Martí 2014-01-29 00:52:50 +01:00
parent 309b15a383
commit 0f8b8c59fe

View file

@ -16,12 +16,11 @@ Repo Type:git
Repo:git://git.xcsoar.org/xcsoar/master/xcsoar.git
Build:6.7.3,92
disable=finishing touches
commit=v6.7.3
subdir=android
submodules=yes
build=cd .. && \
make TARGET=ANDROIDFAT DEBUG=n TESTING=n ANDROID_SDK=$ANDROID_HOME -j4 output/ANDROIDFAT/bin/XCSoar-release-unsigned.apk
for n in 1 2 3; do make TARGET=ANDROIDFAT DEBUG=n TESTING=n ANDROID_SDK=$ANDROID_HOME -j4 output/ANDROIDFAT/bin/XCSoar-release-unsigned.apk && break; done
output=../output/ANDROIDFAT/bin/XCSoar-release-unsigned.apk