aboutsummaryrefslogtreecommitdiff
path: root/package/botan
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-08 21:34:10 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-08 21:52:39 +0200
commit1737af367993326ee47e847bd755806c8a78ced8 (patch)
tree7544cc742326a76eba3003ccfd5db82b2cd2f2fc /package/botan
parent93aa446fd6931d662993462acb7eaa8696e9e04f (diff)
downloadbuildroot-1737af367993326ee47e847bd755806c8a78ced8.tar.gz
buildroot-1737af367993326ee47e847bd755806c8a78ced8.tar.bz2
botan: limit to supported CPU architectures
See src/build-data/arch/ for the list of supported CPU architectures. Fixes: http://autobuild.buildroot.org/results/69f/69fdecb06a03e6a95adfab70adf8ebf45971f0da/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Francois Perrad <fperrad@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/botan')
-rw-r--r--package/botan/Config.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/botan/Config.in b/package/botan/Config.in
index 49118723c4..b9e2e3a360 100644
--- a/package/botan/Config.in
+++ b/package/botan/Config.in
@@ -1,6 +1,13 @@
+config BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
+ default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k || \
+ BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
+ BR2_powerpc || BR2_powerpc64 || BR2_sparc || BR2_sh || \
+ BR2_x86_64
+
config BR2_PACKAGE_BOTAN
bool "botan"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
help
Botan is a crypto library for C++
@@ -8,3 +15,4 @@ config BR2_PACKAGE_BOTAN
comment "botan needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS