tools: Disable wasm build if no wasm runtime enabled

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2023-05-18 16:59:55 +08:00 committed by Xiang Xiao
parent 7e5a436ff9
commit 23948824b2

View File

@ -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