aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Julien Olivain <juju@cotds.org>2020-06-30 19:34:32 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-06-30 22:11:11 +0200
commit4f733a4de7da15f207cb1b20815d5abaf67f7b5e (patch)
tree5d1848539839ecbdc03bd33b591c22bd698d8bf9
parentbbcd6b6554a70b12552e1043817e312788c88696 (diff)
downloadbuildroot-4f733a4de7da15f207cb1b20815d5abaf67f7b5e.tar.gz
buildroot-4f733a4de7da15f207cb1b20815d5abaf67f7b5e.tar.bz2
package/poco: add BR2_PACKAGE_POCO_ARCH_SUPPORTS
Commit 0737f48c5f (package/poco: disable build for riscv) did not propagate the new dependency on BR2_riscv to the comment. Introduce BR2_PACKAGE_POCO_ARCH_SUPPORTS to solve this issue. Signed-off-by: Julien Olivain <juju@cotds.org> [yann.morin.1998@free.fr: - reword the commit log - use separate 'depend on !arch' ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--package/poco/Config.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/package/poco/Config.in b/package/poco/Config.in
index f8f921de04..05e56eb6b8 100644
--- a/package/poco/Config.in
+++ b/package/poco/Config.in
@@ -1,3 +1,13 @@
+config BR2_PACKAGE_POCO_ARCH_SUPPORTS
+ bool
+ default y
+ depends on !BR2_arc
+ depends on !BR2_microblaze
+ depends on !BR2_mipsel
+ depends on !BR2_or1k
+ depends on !BR2_riscv
+ depends on !BR2_xtensa
+
config BR2_PACKAGE_POCO
bool "poco"
depends on BR2_INSTALL_LIBSTDCPP
@@ -5,8 +15,7 @@ config BR2_PACKAGE_POCO
# pthread_condattr_setclock
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on !BR2_STATIC_LIBS # dlopen()
- depends on !(BR2_arc || BR2_microblaze || BR2_mipsel \
- || BR2_or1k || BR2_riscv || BR2_xtensa)
+ depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_PCRE
help
@@ -85,5 +94,4 @@ endif # BR2_PACKAGE_POCO
comment "poco needs a toolchain w/ wchar, NPTL, C++, dynamic library"
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
- depends on !(BR2_arc || BR2_microblaze || BR2_mipsel \
- || BR2_or1k || BR2_xtensa)
+ depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS