Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] libusb: disable on avr32
Date: Sun, 18 Nov 2012 15:08:36 +0200	[thread overview]
Message-ID: <20121118130836.GE25380@sapphire.tkos.co.il> (raw)
In-Reply-To: <1353243578-6980-1-git-send-email-spdawson@gmail.com>

Hi Simon,

On Sun, Nov 18, 2012 at 12:59:38PM +0000, spdawson at gmail.com wrote:
> From: Simon Dawson <spdawson@gmail.com>
> 
> For target architecture avr32, the gpsd package fails to build when
> libusb is selected. The following autobuild failure illustrates the problem.
> 
>   http://autobuild.buildroot.net/results/aa3d4763a0e90c995bc8431cf345730ee22e65a1/build-end.log
> 
> The issue is that libusb requires timerfd_settime and timerfd_create, but
> the underlying syscalls are not implemented on avr32.
> 
> This patch disables the libusb package for the avr32 target architecture.
> 
> This will also fix autobuild failures such as the following
> 
>   http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/build-end.log
> 
> In this case, the pcsc-lite package fails to build on the avr32 architecture,
> due to the dependency on libusb.
> 
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
> ---

[...]

>  	  http://pcsclite.alioth.debian.org/ccid.html
>  
>  comment "ccid needs a toolchain with thread support"
> -	depends on !BR2_TOOLCHAIN_HAS_THREADS
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32

Showing this comment when BR2_avr32 is enabled is not very helpful, IMHO,
especially when the toolchain does have threads support.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2012-11-18 13:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 12:59 [Buildroot] [PATCH v3] libusb: disable on avr32 spdawson at gmail.com
2012-11-18 13:08 ` Baruch Siach [this message]
2012-11-18 13:12   ` Baruch Siach
2012-11-18 13:23     ` Simon Dawson
2012-11-18 13:43       ` Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121118130836.GE25380@sapphire.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox