Merge pull request #9024 from jia200x/pr/examples/js_riotbase

make/javascript: fix RIOTBASE
This commit is contained in:
Sebastian Meiling 2018-04-25 20:36:11 +02:00 committed by GitHub
commit 8a822404ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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