Merge pull request #9024 from jia200x/pr/examples/js_riotbase
make/javascript: fix RIOTBASE
This commit is contained in:
commit
8a822404ee
@ -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
|
|||||||
# 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user