libpfm4: disable when pthreads barrier support in missing
authorBaruch Siach <baruch@tkos.co.il>
Sun, 5 Jan 2014 09:06:00 +0000 (11:06 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 5 Jan 2014 10:02:16 +0000 (11:02 +0100)
The old linuxthreads pthreads implementation does not support barriers.
Disable libpfm4 for arches that don't have either NPTL or new linuxthreads
pthreads implementation.

Fixes
http://autobuild.buildroot.net/results/ea5/ea594807b891cbe1f0eddad7f89d34af160636c4/.

Also, add missing comment arches dependency.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libpfm4/Config.in

index 1c2fbdcb0ec8b81b63dc207bd94a585404d40dbc..86ca8f6b2bae8229a49b4e5966592b972703ef16 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBPFM4
        bool "libpfm4"
        depends on !BR2_avr32 # no perf_event_open
+       depends on !BR2_xtensa && !BR2_bfin # no nptl or linuxthreads (new)
        depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          A helper library to help encode Performance Events to use with
@@ -10,3 +11,4 @@ config BR2_PACKAGE_LIBPFM4
 
 comment "libpfm4 needs a toolchain w/ threads"
        depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_avr32 && !BR2_xtensa && !BR2_bfin