summaryrefslogtreecommitdiffstats
path: root/package/libaio
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-06-25 16:04:55 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-28 15:26:40 +0200
commite8fee6382430f36470a12b84ebb696dcf2a13ae7 (patch)
treeed09e963b2ef688e057a18b5ac395ea660af8818 /package/libaio
parent8906f272ab41e0373f392cc7a04cc97320dd8382 (diff)
downloadbuildroot-e8fee6382430f36470a12b84ebb696dcf2a13ae7.tar.gz
buildroot-e8fee6382430f36470a12b84ebb696dcf2a13ae7.zip
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>
Diffstat (limited to 'package/libaio')
-rw-r--r--package/libaio/Config.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/libaio/Config.in b/package/libaio/Config.in
index 622fd55a5e..cc44cb6dbc 100644
--- a/package/libaio/Config.in
+++ b/package/libaio/Config.in
@@ -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
bool "libaio"
- depends on \
- BR2_arm || BR2_armeb || BR2_i386 || \
- BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \
- BR2_sparc || BR2_x86_64
+ depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
help
Library for doing asynchronous I/O
OpenPOWER on IntegriCloud