mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-30 21:47:24 +00:00
Add support for custom sections in nuttx (#2795)
This commit is contained in:
parent
d4184968c0
commit
73cd1969f4
|
@ -317,6 +317,12 @@ endif
|
||||||
# REVISIT: is this worth to have a Kconfig?
|
# REVISIT: is this worth to have a Kconfig?
|
||||||
CFLAGS += -DWASM_DISABLE_WAKEUP_BLOCKING_OP=0
|
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)
|
ifeq ($(CONFIG_INTERPRETERS_WAMR_CUSTOM_NAME_SECTIONS),y)
|
||||||
CFLAGS += -DWASM_ENABLE_CUSTOM_NAME_SECTION=1
|
CFLAGS += -DWASM_ENABLE_CUSTOM_NAME_SECTION=1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user