mirror of
https://github.com/apache/nuttx.git
synced 2025-12-08 10:55:51 +08:00
openamp: Refine elf_load to remoteproc_elf_loader
to avoid the name conflict with binfmt elf loader Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -97,6 +97,8 @@ if(CONFIG_OPENAMP_DEBUG)
|
||||
add_compile_definitions(VQUEUE_DEBUG)
|
||||
endif()
|
||||
|
||||
add_compile_definitions(elf_load=remoteproc_elf_load)
|
||||
|
||||
set(WITH_LIBMETAL_FIND OFF)
|
||||
|
||||
if(NOT CMAKE_SYSTEM_PROCESSOR)
|
||||
|
||||
@@ -30,6 +30,8 @@ ifeq ($(CONFIG_OPENAMP_DEBUG),y)
|
||||
CFLAGS += -DRPMSG_DEBUG -DVQUEUE_DEBUG
|
||||
endif
|
||||
|
||||
CFLAGS += -Delf_load=remoteproc_elf_load
|
||||
|
||||
CSRCS += open-amp/lib/remoteproc/elf_loader.c
|
||||
CSRCS += open-amp/lib/remoteproc/remoteproc.c
|
||||
CSRCS += open-amp/lib/remoteproc/remoteproc_virtio.c
|
||||
|
||||
Reference in New Issue
Block a user