aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-05-28 11:14:26 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-05-31 00:06:52 +0200
commit5179649bc9b53ff29b881d7b755ad0d28ff10aba (patch)
tree1c4ae704bd0d96b098f8dc2c4e6df2f98dacb335 /toolchain
parentf2c9e9707ed7a67a3a878248f300afc17bd0919c (diff)
downloadbuildroot-5179649bc9b53ff29b881d7b755ad0d28ff10aba.tar.gz
buildroot-5179649bc9b53ff29b881d7b755ad0d28ff10aba.tar.bz2
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>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in b/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in
index 2596fc3c8b..9c937b8c44 100644
--- a/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in
@@ -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