26 Commits
Author SHA1 Message Date
Kaspar Schleiser ce9b1e3826 pkg: remove not needed git-downloaded dependencies
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
Gaëtan Harter 6a170583d6 pkg/jerryscript: namespace BUILD_DIR variable
BUILD_DIR was introduced but the variable was already used by
`pkg/jerryscript` so there is a name collision.
Namespace it to prevent issues.
2019-01-16 17:47:12 +01:00
cladmi 04a91e9a42 jerryscript: re-enable LLVM/clang
Re-enable LLVM/clang now that system includes are used.
It compiles and correctly executes examples/javascript.
2018-12-19 17:12:31 +01:00
cladmi cf12022d63 pkg/jerryscript: fix jerryscript not using system includes
Jerryscript was never using INCLUDES so never having the 'newlib-nano' or llvm
includes. It prevented working with `llvm`.

Disable unsupported warnings for ESP32 and ESP8266 newlib that show when
using system includes.
 * tested newlib version for ESP32 is 2.2.0
 * tested newlib version for ESP8266 is 3.0.0
2018-12-19 17:12:31 +01:00
cladmi 3a125b6396 pkg/jerryscript: build into '$(BINDIR)'
Build into the BINDIR directory instead of the source repository.
This makes 'clean' work as expected without other intervention.

Also it goes in the direction of having the package source repository
board independent.
2018-12-19 14:30:41 +01:00
cladmi 097575117c pkg/jerryscript: build directory does not need to exist with -B 2018-12-19 14:30:41 +01:00
cladmi d55ae9c7f9 pkg/jerryscript: remove unnecessary export and fix indent 2018-12-19 14:27:45 +01:00
cladmi c4f8c006c4 pkg/jerryscript: use 'make -f' instead of copying makefile 2018-12-19 14:27:32 +01:00
cladmi da3c075d1d pkg/jerryscript: update rules
Remove unknown rules from .PHONY.
Make 'all' be the default target for jerryscript and execute `all` target.
This way no definition order issue could happen in the future.
2018-12-19 14:26:55 +01:00
cladmi b7aa55b721 pkg/jerryscript: do not use Makefile.base
Do not include Makefile.base as 'DIRS' are not used here.
Also if 'all' target was to be used, there would be two rules creating
`$(BINDIR)/jerryscript.a`.

By default `Makefile.jerryscript` executes `libjerry` as it is the first
target.
2018-12-19 14:23:13 +01:00
Sebastian Meiling f56d8d1b1c pkg/jerryscript: disable -Wconversion for llvm 2018-11-29 12:06:12 +01:00
Martine Lenders 58f71508b9 jerryscript: blacklist LLVM/clang 2018-09-21 14:54:53 +02:00
Martine Lenders dde802f528 jerryscript: disable HAVE_TIME_H
Without this disabled `nanosleep()` is used, which isn't provided for
most our platforms (though the header `<time.h>` is).

Furthermore, that macro is only used in that instance throughout the
JerryScript codebase.
2018-08-22 13:50:57 +02:00
Martine Lenders 73e036d4eb jerryscript: bump version
Alternative to #9735, as it [includes that fix in upstream][851f4].

[851f4]: https://github.com/jerryscript-project/jerryscript/commit/851f4f0b894fecef96c61da1fdd67678f721404e
2018-08-21 11:22:22 +02:00
Francisco Acosta 4b7f85de75 Merge pull request #9285 from Lydrin/master
pkg/jerryscript: update to latest commit
2018-06-29 18:14:02 +02:00
smlng bbbc149595 pkg/jerryscript: remove duplicate CFLAGS definition 2018-06-20 15:34:50 +02:00
Anthony a650a43df2 pkg/jerryscript: update Javascript example up to date 2018-06-04 16:22:23 +02:00
smlng 3a9d91a9bb pkg/jerryscript: allow build with non-gnu toolchain, i.e. llvm 2017-12-19 12:22:48 +01:00
smlng 8e24e0fa78 pkg/jerryscript: disable compiler warnings on macOS 2017-12-19 12:21:42 +01:00
smlng 2519bf2f4d pkg/jerryscript: bump version 2017-12-19 12:21:06 +01:00
Alexandre Abadie 7142a273dd pkg/*: put $(MAKE) in quotes in all packages 2017-12-18 14:53:54 +01:00
Kaspar Schleiser 9ba90e2ae6 pkg: jerryscript: bump version 2017-10-23 10:08:52 +02:00
Alexandre Abadie 70e4940ec5 pkg: fix Makefile.dep indentation 2017-09-06 16:10:07 +02:00
Alexandre Abadie c4ebd18be2 pkg: enhance doxygen packages documentation 2017-07-03 09:56:07 +02:00
Robert Sipka f393c015dd pkg/jerryscript: update jerryscript package with the latest version (56802c22)
Also disabled to build jerry-libm because it is unused.
2017-04-28 14:29:52 +02:00
Emmanuel Baccelli 6ce3abf6ed pkg: add jerryscript package 2017-03-22 16:19:49 +01:00