summaryrefslogtreecommitdiff
path: root/package/cc-tool
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-15 20:23:48 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-05-16 09:26:29 +0200
commitfeeab03fa68a02733ae9382b7d47d9eb0d785188 (patch)
tree8738e162f9643b991a8823b23c573a04ebba2037 /package/cc-tool
parent69964d8180332e219b68992b80a4600e151529ad (diff)
boost: disable on NIOS 2 with broken toolchains
The current NIOS 2 toolchains are not capable of building Boost, so let's disable it and its reverse dependencies. Even though it's not strictly an architecture dependency, we use the <pkg>_ARCH_SUPPORTS paradigm for this dependency, since it simplifies a lot handling all boost reverse dependencies, and is anyway quite similar to an architecture dependency since we don't display a comment about this dependency. Fixes: http://autobuild.buildroot.net/results/e119b1ef55c546e0d0598b85c46ceefa5c43d5a6/ [Peter: also update mpd comment] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/cc-tool')
-rw-r--r--package/cc-tool/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/cc-tool/Config.in b/package/cc-tool/Config.in
index 5087f4acc..be115997a 100644
--- a/package/cc-tool/Config.in
+++ b/package/cc-tool/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_CC_TOOL
bool "cc-tool"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_BOOST
select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
@@ -17,4 +18,5 @@ config BR2_PACKAGE_CC_TOOL
http://sourceforge.net/projects/cctool/
comment "cc-tool needs a toolchain w/ C++, threads"
+ depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS