tools: Disable wasm build if no wasm runtime enabled
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
7e5a436ff9
commit
23948824b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user