[Buildroot] [PATCH] package/libbdplus: Add missing libgpg arch support
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jul 5 07:23:12 UTC 2016
Hello,
On Mon, 4 Jul 2016 23:57:46 +0200, Maxime Hadjinlian wrote:
> comment "libbdplus needs a toolchain w/ threads, dynamic library"
> - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
> + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
> + !BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
That's not the proper way of taking into account architecture
dependencies. What we want is that the comment is only displayed if the
architecture requirements are met, so:
comment "libbdplus needs a toolchain w/ threads, dynamic library"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
Applied with this fixed.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list