2017-03-22 16:20:07 +01:00
|
|
|
# application name
|
|
|
|
APPLICATION = riot_javascript
|
|
|
|
|
|
|
|
# default BOARD environment
|
|
|
|
BOARD ?= native
|
|
|
|
|
2018-04-25 17:13:46 +02:00
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
2017-03-22 16:20:07 +01:00
|
|
|
# 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:
|
2017-11-19 14:12:25 +01:00
|
|
|
DEVELHELP ?= 1
|
2017-03-22 16:20:07 +01:00
|
|
|
|
2024-02-01 13:55:02 +01:00
|
|
|
ifeq (,$(filter native native64,$(BOARD)))
|
2017-03-22 16:20:07 +01:00
|
|
|
# Set stack size to something (conservatively) enormous
|
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=9092
|
2018-01-09 10:25:31 +01:00
|
|
|
endif
|
2017-03-22 16:20:07 +01:00
|
|
|
|
|
|
|
# Add the package for Jerryscript
|
|
|
|
USEPKG += jerryscript
|
|
|
|
|
2017-08-30 12:35:24 +02:00
|
|
|
# generate .js.h header files of .js files
|
2019-11-18 21:12:49 +01:00
|
|
|
BLOBS += $(wildcard *.js)
|
2017-08-30 12:35:24 +02:00
|
|
|
|
2018-11-22 16:30:29 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|