Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions targets/tizenrt-artik05x/Makefile.tizenrt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

CURDIR = `pwd`
JERRYHEAP ?= 16
BUILD_DIR ?= build/tizenrt-artik05x/
LIBTARGET_DIR ?= ../tizenrt/build/output/libraries
BUILD_DIR ?= build/tizenrt-artik05x
LIBTARGET_DIR ?= $(abspath $(PWD)/../tizenrt/build/output/libraries)

EXT_CFLAGS += -mcpu=cortex-r4 -mfpu=vfpv3
EXT_CFLAGS += -fno-builtin -fno-strict-aliasing
Expand Down Expand Up @@ -46,10 +45,10 @@ libjerry:
-DMEM_HEAP_SIZE_KB=$(JERRYHEAP) \
-DCMAKE_BUILD_TYPE=Release

make -C$(BUILD_DIR) jerry-core
make -C$(BUILD_DIR) jerry-libm
make -C$(BUILD_DIR) jerry-core jerry-libm jerry-ext
cp $(BUILD_DIR)/lib/libjerry-core.a $(LIBTARGET_DIR)
cp $(BUILD_DIR)/lib/libjerry-libm.a $(LIBTARGET_DIR)
cp $(BUILD_DIR)/lib/libjerry-ext.a $(LIBTARGET_DIR)

clean:
rm -rf $(BUILD_DIR)
3 changes: 2 additions & 1 deletion targets/tizenrt-artik05x/apps/jerryscript/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ PRIORITY = $(CONFIG_JERRYSCRIPT_PRIORITY)
STACKSIZE = $(CONFIG_JERRYSCRIPT_STACKSIZE)
CFLAGS += -std=c99 -DJERRY_NDEBUG -DJERRY_JS_PARSER '-DCONFIG_MEM_HEAP_AREA_SIZE=$(CONFIG_JERRYSCRIPT_HEAPSIZE)'
CFLAGS += -I$(ROOT_DIR)/ $(shell find $(ROOT_DIR)/jerryscript/jerry-core -type d | sed -r -e 's/^/-I/g')
CFLAGS += -I$(ROOT_DIR)/jerryscript/jerry-ext/include

ifeq ($(CONFIG_JERRYSCRIPT_MEM_STATS),y)
CFLAGS += -DJMEM_STATS
Expand All @@ -100,7 +101,7 @@ LINKLIBS=$(EXTRA_LIBS)


ASRCS =
CSRCS = jerry_port.c
CSRCS =
MAINSRC = jerry_main.c

AOBJS = $(ASRCS:.S=$(OBJEXT))
Expand Down
Loading