Patchwork [v2] bluez-utils: disable on avr32

login
register
mail settings
Submitter Simon Dawson
Date Nov. 13, 2012, 8:56 a.m.
Message ID <1352797007-9509-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/198568/
State Accepted
Commit 5bebca0c550a795350d90c33a09be5820dff616f
Headers show

Comments

Simon Dawson - Nov. 13, 2012, 8:56 a.m.
From: Simon Dawson <spdawson@gmail.com>

The bluez-utils package does not build for the avr32 architecture; this
results in autobuilder failures such as the following.

  http://autobuild.buildroot.net/results/d737d1220d7566289eee802fd580a49d8c456c97/build-end.log

The underlying problem is with the <sys/epoll.h> header provided by the
antiquated avr32 toolchain; this header lacks definitions for
epoll_create1() and EPOLL_CLOEXEC.

This patch disables support for the bluez-utils package on the avr32
architecture.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 v2: Don't use a comment to indicate that the package is not available on avr32

 package/bluez_utils/Config.in |    1 +
 1 file changed, 1 insertion(+)
Arnout Vandecappelle - Nov. 13, 2012, 8:22 p.m.
On 13/11/12 09:56, spdawson@gmail.com wrote:
> From: Simon Dawson<spdawson@gmail.com>
>
> The bluez-utils package does not build for the avr32 architecture; this
> results in autobuilder failures such as the following.
>
>    http://autobuild.buildroot.net/results/d737d1220d7566289eee802fd580a49d8c456c97/build-end.log
>
> The underlying problem is with the<sys/epoll.h>  header provided by the
> antiquated avr32 toolchain; this header lacks definitions for
> epoll_create1() and EPOLL_CLOEXEC.
>
> This patch disables support for the bluez-utils package on the avr32
> architecture.
>
> Signed-off-by: Simon Dawson<spdawson@gmail.com>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

This one is for 2012.11.

  Regards,
  Arnout
Peter Korsgaard - Nov. 14, 2012, 9:30 p.m.
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>

 spdawson> The bluez-utils package does not build for the avr32
 spdawson> architecture; this results in autobuilder failures such as
 spdawson> the following.

Committed, thanks.

Patch

diff --git a/package/bluez_utils/Config.in b/package/bluez_utils/Config.in
index 9836b21..c06f8cd 100644
--- a/package/bluez_utils/Config.in
+++ b/package/bluez_utils/Config.in
@@ -1,5 +1,6 @@ 
 config BR2_PACKAGE_BLUEZ_UTILS
 	bool "bluez-utils"
+	depends on !BR2_avr32
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
 	select BR2_PACKAGE_DBUS