mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
libaio: introduce a BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS option
In order to allow other packages to easily select libaio without duplicating its complicated architecture dependencies, this commit introduces a BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS blind option. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
8906f272ab
commit
e8fee63824
@ -2,11 +2,7 @@ config BR2_PACKAGE_BLKTRACE
|
|||||||
bool "blktrace"
|
bool "blktrace"
|
||||||
# Uses posix_spawn()
|
# Uses posix_spawn()
|
||||||
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
||||||
# Because of libaio arch depends
|
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||||
depends on \
|
|
||||||
BR2_arm || BR2_armeb || BR2_i386 || \
|
|
||||||
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
|
||||||
BR2_sparc || BR2_x86_64
|
|
||||||
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,12 +8,8 @@ if BR2_PACKAGE_GADGETFS_TEST
|
|||||||
|
|
||||||
config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
|
config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
|
||||||
bool "use asynchronous i/o"
|
bool "use asynchronous i/o"
|
||||||
|
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||||
select BR2_PACKAGE_LIBAIO
|
select BR2_PACKAGE_LIBAIO
|
||||||
# libaio is available only on few architectures
|
|
||||||
depends on \
|
|
||||||
BR2_arm || BR2_armeb || BR2_i386 || \
|
|
||||||
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
|
||||||
BR2_sparc || BR2_x86_64
|
|
||||||
help
|
help
|
||||||
Select this to have gadgetfs-test do asynchronous I/O using
|
Select this to have gadgetfs-test do asynchronous I/O using
|
||||||
the libaio library.
|
the libaio library.
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
|
config BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||||
|
bool
|
||||||
|
default y if BR2_arm || BR2_armeb || BR2_i386 || \
|
||||||
|
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
||||||
|
BR2_sparc || BR2_x86_64
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBAIO
|
config BR2_PACKAGE_LIBAIO
|
||||||
bool "libaio"
|
bool "libaio"
|
||||||
depends on \
|
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||||
BR2_arm || BR2_armeb || BR2_i386 || \
|
|
||||||
BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
|
||||||
BR2_sparc || BR2_x86_64
|
|
||||||
help
|
help
|
||||||
Library for doing asynchronous I/O
|
Library for doing asynchronous I/O
|
||||||
|
Loading…
x
Reference in New Issue
Block a user