Skip to content
Snippets Groups Projects
Commit 010826e8 authored by Jose Alamos's avatar Jose Alamos
Browse files

make/javascript: add RIOTBASE support

parent fd0c147a
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ APPLICATION = riot_javascript ...@@ -4,6 +4,9 @@ APPLICATION = riot_javascript
# default BOARD environment # default BOARD environment
BOARD ?= native BOARD ?= native
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini \ BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini \
cc2650-launchpad cc2650stk maple-mini \ cc2650-launchpad cc2650stk maple-mini \
microbit nrf51dongle nrf6310 nucleo-f030 nucleo-f070 \ microbit nrf51dongle nrf6310 nucleo-f030 nucleo-f070 \
...@@ -30,7 +33,7 @@ endif ...@@ -30,7 +33,7 @@ endif
# Add the package for Jerryscript # Add the package for Jerryscript
USEPKG += jerryscript USEPKG += jerryscript
include $(CURDIR)/../../Makefile.include include $(RIOTBASE)/Makefile.include
JS_PATH := $(BINDIR)/js/$(MODULE) JS_PATH := $(BINDIR)/js/$(MODULE)
# add directory of generated *.js.h files to include path # add directory of generated *.js.h files to include path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment