Prevent parallel execution of AndroidBuild.sh

This commit is contained in:
Sergii Pylypenko
2013-11-28 20:45:20 +02:00
parent 3d103698c7
commit 4dec8cbe2a
2 changed files with 3 additions and 2 deletions

View File

@@ -72,6 +72,8 @@ ifneq ($(APPLICATION_CUSTOM_BUILD_SCRIPT),)
# Also I cannot just launch AndroidBuild.sh from makefile because other libraries are not rebuilt and linking will fail
.PHONY: OVERRIDE_CUSTOM_LIB
OVERRIDE_CUSTOM_LIB:
# Prevent ./AndroidBuild.sh to be invoked in parallel for different architectures, it may do things like downloading files which work poorly when launched in parallel
.NOTPARALLEL: $(LOCAL_PATH)/src/libapplication-armeabi.so $(LOCAL_PATH)/src/libapplication-armeabi-v7a.so $(LOCAL_PATH)/src/libapplication-mips.so $(LOCAL_PATH)/src/libapplication-x86.so
LOCAL_PATH_SDL_APPLICATION := $(LOCAL_PATH)