mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +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)
|
add_compile_definitions(VQUEUE_DEBUG)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_compile_definitions(elf_load=remoteproc_elf_load)
|
||||||
|
|
||||||
set(WITH_LIBMETAL_FIND OFF)
|
set(WITH_LIBMETAL_FIND OFF)
|
||||||
|
|
||||||
if(NOT CMAKE_SYSTEM_PROCESSOR)
|
if(NOT CMAKE_SYSTEM_PROCESSOR)
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ ifeq ($(CONFIG_OPENAMP_DEBUG),y)
|
|||||||
CFLAGS += -DRPMSG_DEBUG -DVQUEUE_DEBUG
|
CFLAGS += -DRPMSG_DEBUG -DVQUEUE_DEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CFLAGS += -Delf_load=remoteproc_elf_load
|
||||||
|
|
||||||
CSRCS += open-amp/lib/remoteproc/elf_loader.c
|
CSRCS += open-amp/lib/remoteproc/elf_loader.c
|
||||||
CSRCS += open-amp/lib/remoteproc/remoteproc.c
|
CSRCS += open-amp/lib/remoteproc/remoteproc.c
|
||||||
CSRCS += open-amp/lib/remoteproc/remoteproc_virtio.c
|
CSRCS += open-amp/lib/remoteproc/remoteproc_virtio.c
|
||||||
|
|||||||
Reference in New Issue
Block a user