examples: use architecture specific memset() on RISC-V
Build the architecture specific memset() if configured.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
(cherry picked from commit e18186686f)
This commit is contained in:
committed by
Simon Glass
parent
1f20bf937f
commit
70928ac119
@@ -43,8 +43,8 @@ EXT_COBJ-y += lib/vsprintf.o
|
|||||||
EXT_COBJ-y += lib/charset.o
|
EXT_COBJ-y += lib/charset.o
|
||||||
EXT_COBJ-$(CONFIG_LIB_UUID) += lib/uuid.o
|
EXT_COBJ-$(CONFIG_LIB_UUID) += lib/uuid.o
|
||||||
EXT_SOBJ-$(CONFIG_PPC) += arch/powerpc/lib/ppcstring.o
|
EXT_SOBJ-$(CONFIG_PPC) += arch/powerpc/lib/ppcstring.o
|
||||||
ifeq ($(ARCH),arm)
|
ifneq ($(CONFIG_ARM)$(CONFIG_RISCV),)
|
||||||
EXT_SOBJ-$(CONFIG_USE_ARCH_MEMSET) += arch/arm/lib/memset.o
|
EXT_SOBJ-$(CONFIG_USE_ARCH_MEMSET) += arch/$(ARCH)/lib/memset.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Create a list of object files to be compiled
|
# Create a list of object files to be compiled
|
||||||
|
|||||||
Reference in New Issue
Block a user