microblaze: Setup proper dependency for optimized lib functions microblaze-4.16-rc1
authorMichal Simek <michal.simek@xilinx.com>
Mon, 22 Jan 2018 10:20:55 +0000 (11:20 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 22 Jan 2018 10:24:14 +0000 (11:24 +0100)
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 <fengguang.wu@intel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/Kconfig.platform

index 1b3d8c8..6996f39 100644 (file)
@@ -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).