mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
73e036d4eb
Alternative to #9735, as it [includes that fix in upstream][851f4].
[851f4]: 851f4f0b89
20 lines
515 B
Makefile
20 lines
515 B
Makefile
PKG_NAME=jerryscript
|
|
PKG_URL=https://github.com/jerryscript-project/jerryscript.git
|
|
PKG_VERSION=6e94414f9c3ad9b77c4635a0ca9e796752a205f0
|
|
PKG_LICENSE=Apache-2.0
|
|
|
|
.PHONY: all
|
|
|
|
CFLAGS += -Wno-implicit-fallthrough
|
|
|
|
# disable warnings when compiling with LLVM for board native
|
|
ifeq ($(TOOLCHAIN)_$(BOARD),llvm_native)
|
|
export CFLAGS += -Wno-macro-redefined -Wno-gnu-folding-constant
|
|
endif
|
|
|
|
all: git-download
|
|
@cp Makefile.jerryscript $(PKG_BUILDDIR)/Makefile
|
|
"$(MAKE)" -C $(PKG_BUILDDIR)
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|