From 91b06726bb47b47d02158e63dca4ae97337bec21 Mon Sep 17 00:00:00 2001 From: Sanggyu Lee Date: Fri, 12 May 2017 22:17:11 +0900 Subject: [PATCH] Include jerry-ext/handler only in nuttx-stm32f4 target (#1816) 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 89e6ab91c..e35c6095b 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