Add support for custom sections in nuttx (#2795)

This commit is contained in:
Huang Qi 2023-11-20 11:37:51 +08:00 committed by GitHub
parent d4184968c0
commit 73cd1969f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,6 +317,12 @@ endif
# REVISIT: is this worth to have a Kconfig?
CFLAGS += -DWASM_DISABLE_WAKEUP_BLOCKING_OP=0
ifeq ($(CONFIG_INTERPRETERS_WAMR_LOAD_CUSTOM_SECTIONS),y)
CFLAGS += -DWASM_ENABLE_LOAD_CUSTOM_SECTION=1
else
CFLAGS += -DWASM_ENABLE_LOAD_CUSTOM_SECTION=0
endif
ifeq ($(CONFIG_INTERPRETERS_WAMR_CUSTOM_NAME_SECTIONS),y)
CFLAGS += -DWASM_ENABLE_CUSTOM_NAME_SECTION=1
else