f8f29c8147
Porting memory and string optimize functions from newlib and bionic Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
29 lines
741 B
Plaintext
29 lines
741 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config RISCV_MEMCPY
|
|
bool "Enable optimized memcpy() for RISC-V"
|
|
select LIBC_ARCH_MEMCPY
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized RISC-V specific memcpy() library function
|
|
|
|
config RISCV_MEMSET
|
|
bool "Enable optimized memset() for RISC-V"
|
|
default n
|
|
select LIBC_ARCH_MEMSET
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized RISC-V specific memset() library function
|
|
|
|
config RISCV_STRCMP
|
|
bool "Enable optimized strcmp() for RISC-V"
|
|
default n
|
|
select LIBC_ARCH_STRCMP
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized RISC-V specific strcmp() library function
|
|
|