You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/08/14 15:02:35 UTC
[incubator-nuttx-apps] 03/03: interpreters/duktape: Clean objects
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit aaa198f08c360ddeffea9bd1525d5854be44c100
Author: Huang Qi <hu...@xiaomi.com>
AuthorDate: Fri Aug 14 21:48:50 2020 +0800
interpreters/duktape: Clean objects
Signed-off-by: Huang Qi <hu...@xiaomi.com>
---
interpreters/duktape/Makefile | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/interpreters/duktape/Makefile b/interpreters/duktape/Makefile
index 84f1000..f090972 100644
--- a/interpreters/duktape/Makefile
+++ b/interpreters/duktape/Makefile
@@ -26,11 +26,16 @@ DUKTAPE_TARBALL = duktape-$(DUKTAPE_VERSION).tar.xz
DUKTAPE_URL_BASE = https://github.com/svaarala/duktape/releases/download/
DUKTAPE_URL = $(DUKTAPE_URL_BASE)v$(DUKTAPE_VERSION)/$(DUKTAPE_TARBALL)
-CSRCS = $(DUKTAPE_UNPACK)/src-noline/duktape.c
-CSRCS += $(DUKTAPE_UNPACK)/extras/console/duk_console.c
-CSRCS += $(DUKTAPE_UNPACK)/extras/print-alert/duk_print_alert.c
+CSRCS = duktape.c
+CSRCS += duk_console.c
+CSRCS += duk_print_alert.c
-MAINSRC = $(DUKTAPE_UNPACK)/examples/cmdline/duk_cmdline.c
+MAINSRC = duk_cmdline.c
+
+VPATH += $(DUKTAPE_UNPACK)/src-noline
+VPATH += $(DUKTAPE_UNPACK)/extras/console
+VPATH += $(DUKTAPE_UNPACK)/extras/print-alert
+VPATH += $(DUKTAPE_UNPACK)/examples/cmdline
PROGNAME = duk
PRIORITY = $(CONFIG_INTERPRETERS_DUKTAPE_PRIORITY)