Patchwork [1/2] libaio: make available only on supported architectures

login
register
mail settings
Submitter Thomas Petazzoni
Date May 5, 2012, 4:26 p.m.
Message ID <f91dca9115c62024abe481cbf529baece84f70ec.1336235161.git.thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/157043/
State Accepted
Commit 6c5a33e41ba55f5c156204701d775879ff4fd98f
Headers show

Comments

Thomas Petazzoni - May 5, 2012, 4:26 p.m.
libaio has some architecture-specific code, and isn't available for
all architectures that Buildroot support.

Fixes
http://autobuild.buildroot.org/results/b171a6d6243ea021dc52830bc4b9d36fc083a60d/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libaio/Config.in |    4 ++++
 1 file changed, 4 insertions(+)
Peter Korsgaard - May 5, 2012, 5:35 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> libaio has some architecture-specific code, and isn't available for
 Thomas> all architectures that Buildroot support.

Committed, thanks.

Patch

diff --git a/package/libaio/Config.in b/package/libaio/Config.in
index ff6cc13..833009a 100644
--- a/package/libaio/Config.in
+++ b/package/libaio/Config.in
@@ -1,4 +1,8 @@ 
 config BR2_PACKAGE_LIBAIO
 	bool "libaio"
+	depends on \
+		BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
+		BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
+		BR2_sparc || BR2_x86_64
 	help
 	  Library for doing asynchronous I/O