mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg: jerryscript: bump version
This commit is contained in:
parent
14646fb332
commit
9ba90e2ae6
@ -1,10 +1,12 @@
|
||||
PKG_NAME=jerryscript
|
||||
PKG_URL=https://github.com/jerryscript-project/jerryscript.git
|
||||
PKG_VERSION=56802c22a10b0d684ac93921ac28df891e320b4a
|
||||
PKG_VERSION=e62b5b601bc1caa3e4d8172824988536ed6138f3
|
||||
PKG_LICENSE=Apache-2.0
|
||||
|
||||
.PHONY: all
|
||||
|
||||
CFLAGS += -Wno-implicit-fallthrough
|
||||
|
||||
all: git-download
|
||||
@cp Makefile.jerryscript $(PKG_BUILDDIR)/Makefile
|
||||
$(MAKE) -C $(PKG_BUILDDIR)
|
||||
|
@ -1,3 +1,4 @@
|
||||
ifneq (,$(filter jerryscript,$(USEPKG)))
|
||||
USEMODULE += jerryport-minimal
|
||||
USEMODULE += jerryscript-ext
|
||||
endif
|
||||
|
@ -1 +1,2 @@
|
||||
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-core/
|
||||
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-core/include
|
||||
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-ext/include
|
||||
|
@ -26,8 +26,9 @@ libjerry:
|
||||
-DEXTERNAL_COMPILE_FLAGS="$(EXT_CFLAGS)" \
|
||||
-DMEM_HEAP_SIZE_KB=$(JERRYHEAP)
|
||||
|
||||
make -C $(BUILD_DIR) jerry-core jerry-port-default-minimal
|
||||
make -C $(BUILD_DIR) jerry-core jerry-ext jerry-port-default-minimal
|
||||
cp $(BUILD_DIR)/lib/libjerry-core.a $(BINDIR)/jerryscript.a
|
||||
cp $(BUILD_DIR)/lib/libjerry-ext.a $(BINDIR)/jerryscript-ext.a
|
||||
cp $(BUILD_DIR)/lib/libjerry-port-default-minimal.a $(BINDIR)/jerryport-minimal.a
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
Loading…
Reference in New Issue
Block a user