Modify the build method of TizenRT target
Introduced a cmake/toolchain_mcu_artik053.cmake file that defines all the target specific compiler options. Modified the Makefile.tizenrt to do not copy the created static libraries to the TizenRT folder. Instead, the application builder Makefile (tizenrt-artik053/apps/jerryscript/Makefile) copies the required static libraries to TizenRT. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
This commit is contained in:
@@ -81,6 +81,22 @@ $ mkdir res
|
||||
|
||||
#### 5. Build JerryScript for TizenRT
|
||||
|
||||
```
|
||||
# assuming you are in jerry-tizenrt folder
|
||||
jerryscript/tools/build.py \
|
||||
--clean \
|
||||
--lto=OFF \
|
||||
--jerry-cmdline=OFF \
|
||||
--jerry-libc=OFF \
|
||||
--all-in-one=OFF \
|
||||
--mem-heap=70 \
|
||||
--profile=es2015-subset \
|
||||
--compile-flag="--sysroot=${PWD}/TizenRT/os" \
|
||||
--toolchain=${PWD}/jerryscript/cmake/toolchain_mcu_artik053.cmake
|
||||
```
|
||||
|
||||
**Note**: there is a Makefile in the `targets/tizenrt-artik053/` folder that also helps to build JerryScript for TizenRT.
|
||||
|
||||
```
|
||||
# assuming you are in jerry-tizenrt folder
|
||||
$ cd jerryscript
|
||||
|
||||
Reference in New Issue
Block a user