From eca3ab24984e3368e1a47c47477d5b451bbf965c Mon Sep 17 00:00:00 2001 From: Sanggyu Lee Date: Fri, 12 May 2017 16:36:58 +0900 Subject: [PATCH] Include jerry-ext/handler only in nuttx-stm32f4 target I included jerry-ext/handler only, rather than including all in jerry-ext. Currently only handler is used in nuttx-stm32f4 repl. nuttx.bin binary size is reduced from 231576 to 230456 bytes. JerryScript-DCO-1.0-Signed-off-by: Sanggyu Lee sg5.lee@samsung.com --- targets/nuttx-stm32f4/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/nuttx-stm32f4/Makefile b/targets/nuttx-stm32f4/Makefile index 89e6ab91c0..e35c6095ba 100644 --- a/targets/nuttx-stm32f4/Makefile +++ b/targets/nuttx-stm32f4/Makefile @@ -60,7 +60,7 @@ jerry_libm_allin.c: .PHONY: jerry_ext_allin.c jerry_ext_allin.c: - find $(ROOT_DIR)/jerryscript/jerry-ext -name "*.c" | sed -r -e 's/(\.\.\/)*(.+)/#include "\2"/g' > jerry_ext_allin.c + find $(ROOT_DIR)/jerryscript/jerry-ext/handler -name "*.c" | sed -r -e 's/(\.\.\/)*(.+)/#include "\2"/g' > jerry_ext_allin.c ASRCS = setjmp.S CSRCS = jerry_core_allin.c jerry_libm_allin.c jerry_ext_allin.c