[Buildroot] [PATCH 1/1] package/pulseaudio: bump version to 10.0
thomas.petazzoni at free-electrons.com
Tue Jan 24 05:26:24 UTC 2017
On Sun, 22 Jan 2017 15:16:37 +0100, Bernd Kuhls wrote:
> Dependency to json-c was dropped, updated reverse dependencies as well.
> Added optional dependency to libatomic_ops.
If libatomic_ops is an optional dependency, why are you selecting it
from the Config.in file?
> diff --git a/package/pulseaudio/Config.in b/package/pulseaudio/Config.in
> index 20aa374fce..2d1debdb41 100644
> --- a/package/pulseaudio/Config.in
> +++ b/package/pulseaudio/Config.in
> @@ -3,9 +3,8 @@ config BR2_PACKAGE_PULSEAUDIO
> depends on BR2_USE_WCHAR
> depends on BR2_TOOLCHAIN_HAS_THREADS
> depends on !BR2_STATIC_LIBS
> - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
> + select BR2_PACKAGE_LIBATOMIC_OPS if !BR2_TOOLCHAIN_HAS_SYNC_4
This line is just wrong, since BR2_PACKAGE_LIBATOMIC_OPTS depends on
BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS, so you can't just select
BR2_PACKAGE_LIBATOMIC_OPS like this.
Which is exactly why I'm asking above why you are selecting
libatomic_ops if it's really an optional dependency. If it's really an
optional dependency, just don't do anything in the Config.in file, and
keep the change you already have in the .mk file to depend on
libatomic_ops when enabled in the Buildroot configuration.
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
More information about the buildroot