-
Notifications
You must be signed in to change notification settings - Fork 686
Modify the build method of TizenRT target #2164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify the build method of TizenRT target #2164
Conversation
|
Note: the patch also removes unused/unnecessary codes. |
|
Nice patch! Could you please also update the README with the followings:
LGTM (informally) after these minor fixes. |
|
@robertsipka I already updated for second item in #2128. |
|
@glistening : Indeed, I missed that, thanks. |
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
5ac7ea3 to
9652424
Compare
|
@robertsipka I've updated the README.md according to your requirements. |
|
@hs0225 Could you try out this PR on ARTIK053? |
|
@glistening Yes, I've already tested this PR on ARTIK053 (just build and flash, and run jerry with no test). It worked for me, so maybe it's enough just to check the modifications. |
|
LGTM (as a maintainer of TizenRT port) |
|
LGTM |
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.
This modification helps to build JerryScript with the Python based build-script. In this case the user can use more build options.
tools/build.py \ --clean \ --lto=OFF \ --jerry-cmdline=OFF \ --all-in-one=OFF \ --jerry-libc=OFF \ --mem-heap=70 \ --profile=es2015-subset \ --toolchain=${PWD}/cmake/toolchain_mcu_artik053.cmake \ --compile-flag="--sysroot=${PWD}/../TizenRT/os"