target: mbedos5: mbed CLI refuses to build if no .mbed file present (#1512)

With the newest release of mbed CLI (1.0.0) it error's when no .mbed file is present in the project root. This breaks builds for JerryScript on mbed OS 5. With this patch we create this file and builds succeed again. We cannot use `mbed new` because it also creates a new git repository in targets/mbedos5 folder which is not what we want.

Fixes #1511

JerryScript-DCO-1.0-Signed-off-by: Jan Jongboom [email protected]
This commit is contained in:
Jan Jongboom authored and László Langó committed 2017-01-05 08:42:19 +01:00
1 parent 0026519040
commit 8ebbfda996
2 files changed
+2

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ mbed-os
mbed-events
.build
.mbed
.temp/
mbed_settings.py
js/pins.js
source/pins.cpp
+1
View File
@@ -80,6 +80,7 @@ endif
getlibs: .mbed
.mbed:
echo 'ROOT=.' > .mbed
mbed config root .
mbed toolchain GCC_ARM
mbed target $(BOARD)