This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 23948824b tools: Disable wasm build if no wasm runtime enabled
23948824b is described below

commit 23948824b2b7d32141009393ee8a63bfa552905f
Author: Huang Qi <[email protected]>
AuthorDate: Thu May 18 16:59:55 2023 +0800

    tools: Disable wasm build if no wasm runtime enabled
    
    Signed-off-by: Huang Qi <[email protected]>
---
 Application.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Application.mk b/Application.mk
index eda44d9f3..121532cdb 100644
--- a/Application.mk
+++ b/Application.mk
@@ -268,4 +268,8 @@ distclean:: clean
 
 WASM_BUILD ?= n
 
-include $(APPDIR)/tools/Wasm.mk
+ifeq ($(WASM_BUILD),y)
+       ifneq 
($(CONFIG_INTERPRETERS_WAMR)$(CONFIG_INTERPRETERS_WASM)$(CONFIG_INTERPRETERS_TOYWASM),)
+               include $(APPDIR)/tools/Wasm.mk
+       endif
+endif

Reply via email to