Skip to contentSkip to conversation

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

PATCH New Thomas Petazzoni 2 participants 2 messages May 28, 2019 – May 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../toolchain-external/toolchain-external-andes-nds32/Config.in | 2 ++
 1 file changed, 2 insertions(+)
toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in +2 -0
index 2596fc3c8b..9c937b8c44 100644
@@ -2,6 +2,8 @@ config BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32
 	bool "Andes nds32"
 	depends on BR2_nds32
 	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_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
Signature · 1 line
2.21.0
#1 lore raw

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

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard