Skip to content

Commit aa3a127

Browse files
committed
Handle [NOT_SUPPORTED] exception in make.py
That let us to ignore build failures for examples on not supported platforms.
1 parent d7c02a1 commit aa3a127

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/make.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
sys.path.insert(0, ROOT)
3030

3131
from tools.utils import args_error
32+
from tools.utils import NotSupportedException
3233
from tools.paths import BUILD_DIR
3334
from tools.paths import MBED_LIBRARIES
3435
from tools.paths import RTOS_LIBRARIES
@@ -326,6 +327,8 @@
326327

327328
except KeyboardInterrupt, e:
328329
print "\n[CTRL+c] exit"
330+
except NotSupportedException, e:
331+
print "\nNot supported for selected target"
329332
except Exception,e:
330333
if options.verbose:
331334
import traceback

0 commit comments

Comments
 (0)