toolchain/toolchain-external/toolchain-external-andes-nds32: add missing dependencies...
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 28 May 2019 09:14:26 +0000 (11:14 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 30 May 2019 22:06:52 +0000 (00:06 +0200)
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>
toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in

index 2596fc3c8b46ec299896166b99c255f3d09e8b02..9c937b8c4445e37cfa663413a65f017a4faee137 100644 (file)
@@ -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