mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
blktrace: add dependency on NPTL
blkiomon.c assumes that clock_nanosleep() is always available. But it is only available with NPTL. Since it unconditionally uses it, we add dependency on NPTL. Fixes: http://autobuild.buildroot.net/results/c87/c87cd4a7b0bed938506bcf7e88d4cda60e28e6e5/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b715991c23
commit
08b9e24eaa
@ -1,6 +1,7 @@
|
|||||||
config BR2_PACKAGE_BLKTRACE
|
config BR2_PACKAGE_BLKTRACE
|
||||||
bool "blktrace"
|
bool "blktrace"
|
||||||
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
|
||||||
select BR2_PACKAGE_LIBAIO
|
select BR2_PACKAGE_LIBAIO
|
||||||
help
|
help
|
||||||
blktrace is a block layer IO tracing mechanism which provides
|
blktrace is a block layer IO tracing mechanism which provides
|
||||||
@ -8,3 +9,7 @@ config BR2_PACKAGE_BLKTRACE
|
|||||||
up to user space.
|
up to user space.
|
||||||
|
|
||||||
http://git.kernel.dk/?p=blktrace.git;a=summary
|
http://git.kernel.dk/?p=blktrace.git;a=summary
|
||||||
|
|
||||||
|
comment "blktrace needs a toolchain w/ NPTL"
|
||||||
|
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||||
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user