2017-03-22 16:19:49 +01:00
|
|
|
PKG_NAME=jerryscript
|
|
|
|
PKG_URL=https://github.com/jerryscript-project/jerryscript.git
|
2018-08-21 11:21:05 +02:00
|
|
|
PKG_VERSION=6e94414f9c3ad9b77c4635a0ca9e796752a205f0
|
2017-03-22 16:19:49 +01:00
|
|
|
PKG_LICENSE=Apache-2.0
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
2017-08-30 12:34:50 +02:00
|
|
|
CFLAGS += -Wno-implicit-fallthrough
|
|
|
|
|
2017-12-19 12:21:42 +01:00
|
|
|
# disable warnings when compiling with LLVM for board native
|
|
|
|
ifeq ($(TOOLCHAIN)_$(BOARD),llvm_native)
|
|
|
|
export CFLAGS += -Wno-macro-redefined -Wno-gnu-folding-constant
|
|
|
|
endif
|
|
|
|
|
2017-03-22 16:19:49 +01:00
|
|
|
all: git-download
|
|
|
|
@cp Makefile.jerryscript $(PKG_BUILDDIR)/Makefile
|
2017-12-15 14:57:49 +01:00
|
|
|
"$(MAKE)" -C $(PKG_BUILDDIR)
|
2017-03-22 16:19:49 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|