1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-14 09:03:50 +01:00
2025-04-01 12:39:06 +02:00

27 lines
686 B
Makefile

# application name
APPLICATION = riot_javascript
# default BOARD environment
BOARD ?= native
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../../../..
# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
DEVELHELP ?= 1
ifeq (,$(filter native native32 native64,$(BOARD)))
# Set stack size to something (conservatively) enormous
CFLAGS += -DTHREAD_STACKSIZE_MAIN=9092
endif
# Add the package for Jerryscript
USEPKG += jerryscript
# generate .js.h header files of .js files
BLOBS += $(wildcard *.js)
include $(RIOTBASE)/Makefile.include