From patchwork Sat Nov 17 19:55:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 199871 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D549F2C0087 for ; Sun, 18 Nov 2012 06:57:09 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BDF4A1FE39; Sat, 17 Nov 2012 19:57:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-yqP5+glyuM; Sat, 17 Nov 2012 19:57:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B0A4920157; Sat, 17 Nov 2012 19:57:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AED678F74A for ; Sat, 17 Nov 2012 19:57:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2D58A8CF87 for ; Sat, 17 Nov 2012 19:57:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gO9zcci4wjYv for ; Sat, 17 Nov 2012 19:57:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id D1ABF8CDB4 for ; Sat, 17 Nov 2012 19:57:04 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id s43so1717673wey.16 for ; Sat, 17 Nov 2012 11:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=GKa5IHfgrzIil79bMbCJKba1WzWyW0Qg0zTZDxeXrB8=; b=IhOky5eg802K9B4NAITZLUXbLD4Yy+0qZlJ9fJSjcTUk/y5xf1K2ZyekgO2I4ajx3t qLmgMvUTFVDSQapfc0cXFP2O0EqKG5i9uFonrNPKLqT9mQWrdLnDUxR5NO363vNPhl/E PWWbrqbL/72MA0E17J6Q6mh/q9u2tjaNEDTr5lAXsHc7gjPqI4YHdrIHwkgqjM3z4sQ1 Qgk5zBx9RWWUIg1a1tzR/dz2HD1oGvejKb7/jIZpIuVdiP6TUi3CzEFObwtwCcSVnyeN Tr9kK0uUi+DHVd7F/yBJxnT5IQcUhFqG7MObMiObDTCA+zhrucI0lsxsPLvLMNW/5yic GnjA== Received: by 10.180.75.135 with SMTP id c7mr3063836wiw.10.1353182223056; Sat, 17 Nov 2012 11:57:03 -0800 (PST) Received: from localhost.localdomain (host-84-13-96-11.opaltelecom.net. [84.13.96.11]) by mx.google.com with ESMTPS id w5sm7117549wiz.10.2012.11.17.11.57.01 (version=SSLv3 cipher=OTHER); Sat, 17 Nov 2012 11:57:02 -0800 (PST) From: spdawson@gmail.com To: buildroot@busybox.net Date: Sat, 17 Nov 2012 19:55:56 +0000 Message-Id: <1353182156-28906-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] libusb: disable on avr32 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Simon Dawson 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. Signed-off-by: Simon Dawson --- package/libusb/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libusb/Config.in b/package/libusb/Config.in index 2eed3fa..cbaeac6 100644 --- a/package/libusb/Config.in +++ b/package/libusb/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBUSB bool "libusb" + depends on !BR2_avr32 # timerfd not in uClibc-0.9.31 depends on BR2_TOOLCHAIN_HAS_THREADS help Userspace library for accessing USB devices @@ -7,4 +8,4 @@ config BR2_PACKAGE_LIBUSB http://libusb.sourceforge.net/ comment "libusb needs a toolchain with thread support" - depends on !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32