product-mini/platforms/nuttx/wamr.mk: Provide BH_MALLOC/BH_FREE (#1135)

This commit is contained in:
YAMAMOTO Takashi 2022-04-28 13:03:29 +09:00 committed by GitHub
parent 98431225f2
commit 814a76ee89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,9 @@ endif
WAMR_BUILD_PLATFORM := nuttx
CFLAGS += -DBH_MALLOC=wasm_runtime_malloc
CFLAGS += -DBH_FREE=wasm_runtime_free
ifeq ($(WAMR_BUILD_TARGET), X86_32)
CFLAGS += -DBUILD_TARGET_X86_32
INVOKE_NATIVE := invokeNative_ia32.s