mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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 janjongboom@gmail.com
This commit is contained in:
parent
0026519040
commit
8ebbfda996
1
targets/mbedos5/.gitignore
vendored
1
targets/mbedos5/.gitignore
vendored
@ -2,6 +2,7 @@ mbed-os
|
||||
mbed-events
|
||||
.build
|
||||
.mbed
|
||||
.temp/
|
||||
mbed_settings.py
|
||||
js/pins.js
|
||||
source/pins.cpp
|
||||
|
||||
@ -80,6 +80,7 @@ endif
|
||||
getlibs: .mbed
|
||||
|
||||
.mbed:
|
||||
echo 'ROOT=.' > .mbed
|
||||
mbed config root .
|
||||
mbed toolchain GCC_ARM
|
||||
mbed target $(BOARD)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user