mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00: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:
parent
6b0c22c775
commit
815c9c464a
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue