From: Michal Simek Date: Mon, 22 Jan 2018 10:20:55 +0000 (+0100) Subject: microblaze: Setup proper dependency for optimized lib functions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7b6ce52be3f86520524711a6f33f3866f9339694;p=openwrt%2Fstaging%2Fblogic.git microblaze: Setup proper dependency for optimized lib functions Optimized library functions are implemented only for little endian. Setup this dependency via Kconfig. commit 206d3642d8ee ("arch/microblaze: add choice for endianness and update Makefile") added an option to setup endianess via Kconfig. Reported-by: kbuild test robot Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/Kconfig.platform b/arch/microblaze/Kconfig.platform index 1b3d8c849101..6996f397c16c 100644 --- a/arch/microblaze/Kconfig.platform +++ b/arch/microblaze/Kconfig.platform @@ -8,6 +8,7 @@ menu "Platform options" config OPT_LIB_FUNCTION bool "Optimalized lib function" + depends on CPU_LITTLE_ENDIAN default y help Allows turn on optimalized library function (memcpy and memmove).