From f04d380043710523bdc8fba1e1532e1bd00e9645 Mon Sep 17 00:00:00 2001 From: Hosung Kim Date: Fri, 22 Sep 2017 13:57:00 +0900 Subject: [PATCH] IoT.js: Add new definition, BUILD_OPTION, to give additional build options in Makefile --- external/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.7.4