From: Hosung Kim Date: Fri, 22 Sep 2017 04:57:00 +0000 (+0900) Subject: IoT.js: Add new definition, BUILD_OPTION, to give additional build options in Makefile X-Git-Tag: 1.1_Public_Release~146^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f04d380043710523bdc8fba1e1532e1bd00e9645;p=rtos%2Ftinyara.git IoT.js: Add new definition, BUILD_OPTION, to give additional build options in Makefile --- diff --git a/external/Makefile b/external/Makefile index b93a6d6..e0ce699 100644 --- a/external/Makefile +++ b/external/Makefile @@ -168,6 +168,7 @@ endif ifeq ($(CONFIG_ENABLE_IOTJS),y) IOTJS_ROOT_DIR ?= $(EXTDIR)/iotjs +IOTJS_BUILD_OPTION ?= ifeq ($(CONFIG_DEBUG),y) IOTJS_BUILDTYPE = debug IOTJS_LIB_DIR = $(IOTJS_ROOT_DIR)/build/arm-tizenrt/debug/lib @@ -181,7 +182,7 @@ iotjs_build: ifeq ($(CONFIG_ENABLE_IOTJS),y) python $(IOTJS_ROOT_DIR)/tools/build.py --target-arch=arm --target-os=tizenrt \ --sysroot=../os --target-board=artik05x --jerry-heaplimit=$(CONFIG_IOTJS_JERRY_HEAP) \ - --buildtype=$(IOTJS_BUILDTYPE) --no-init-submodule + --buildtype=$(IOTJS_BUILDTYPE) --no-init-submodule $(IOTJS_BUILD_OPTION) endif iotjs_clean: