Commit Graph
15 Commits
Author SHA1 Message Date
Sebastian Meiling 5dd03b9b3e pkg/jerryscript: set -Wno-conversion for FreeBSD
Fixes compile issue on FreeBSD because of float to double conversion
by disabling the corresponding compiler warning.
2019-12-05 13:32:19 +01: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 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 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 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
smlng bbbc149595 pkg/jerryscript: remove duplicate CFLAGS definition 2018-06-20 15:34:50 +02:00
smlng 3a9d91a9bb pkg/jerryscript: allow build with non-gnu toolchain, i.e. llvm 2017-12-19 12:22:48 +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
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