浏览代码

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 <fengguang.wu@intel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 7 年之前
父节点
当前提交
7b6ce52be3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/microblaze/Kconfig.platform

+ 1 - 0
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).