aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-17 21:17:42 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-17 21:17:42 +0200
commit2e1f98d9509d869352080331e168abe5f1452e1a (patch)
tree46da1292ddd26f833ac5520af003f2d80c785655
parentb45a703078e6f3be096f24ac63848490d32d0d29 (diff)
downloadbuildroot-2e1f98d9509d869352080331e168abe5f1452e1a.tar.gz
buildroot-2e1f98d9509d869352080331e168abe5f1452e1a.tar.bz2
utils/genrandconfig: prevent selecting libffi on nds32
libffi does not have support for the nds32 architecture, so let's disallow libffi on this CPU architecture for the moment. Fixes: http://autobuild.buildroot.net/results/12803a705586e82fdfb49013da2eb3b9879ccd45/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rwxr-xr-xutils/genrandconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/genrandconfig b/utils/genrandconfig
index 6cb1bed214..5f3fe23260 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -264,6 +264,9 @@ def fixup_config(configfile):
if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \
'BR2_PACKAGE_LIBFFI=y\n' in configlines:
return False
+ if 'BR2_nds32=y\n' in configlines and \
+ 'BR2_PACKAGE_LIBFFI=y\n' in configlines:
+ return False
if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines:
configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n')
configlines.append('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/hackberry.fex"\n')