浏览代码

toolchain/toolchain-external/toolchain-external-andes-nds32: add missing dependencies/select

This external toolchain is pre-built for x86, so it can only work on
x86 and x86-64, and for the latter, the ia32 libraries are necessary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni 6 年之前
父节点
当前提交
5179649bc9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in

+ 2 - 0
toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in

@@ -2,6 +2,8 @@ config BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32
 	bool "Andes nds32"
 	bool "Andes nds32"
 	depends on BR2_nds32
 	depends on BR2_nds32
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_8
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_8
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17