summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-10 16:11:04 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-10 16:11:04 +0200
commit626b3e1b11313c903dfe11bde68504ca8931ba8e (patch)
tree9c65d436ca09c5a680d4b55326b6eee9f69f240c /config
parent9275468e011dd9ca165639ba8da7796d96d37238 (diff)
android: fix bootstrap
Show a warning when the toolchain is not found instead of raising an error, as it will not be found during bootstrap
Diffstat (limited to 'config')
-rw-r--r--config/android.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/android.config b/config/android.config
index 6c4b7af5..3b9bf36d 100644
--- a/config/android.config
+++ b/config/android.config
@@ -5,6 +5,8 @@
import os
from cerbero.config import Architecture, DistroVersion
+from cerbero.errors import FatalError
+import cerbero.utils.messages as m
if not toolchain_prefix:
toolchain_prefix = os.path.expanduser('~/cerbero/android-ndk-r8e')
@@ -38,7 +40,7 @@ else:
raise FatalError("Arch not supported")
if not toolchain_path:
- raise FatalError("Toolchain not found")
+ m.warning ("Android NDK not found")
if target_distro_version == DistroVersion.ANDROID_GINGERBREAD:
v = '9'