From patchwork Sun Feb 3 12:15:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 217746 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 2548D2C008C for ; Sun, 3 Feb 2013 23:15:44 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 17ED7A0135; Sun, 3 Feb 2013 12:15:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dyBCfc9dsVaM; Sun, 3 Feb 2013 12:15:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 246B5A013B; Sun, 3 Feb 2013 12:15:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 38AB98F753 for ; Sun, 3 Feb 2013 12:15:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DF44AA00BD for ; Sun, 3 Feb 2013 12:15:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J06QIAN18zsM for ; Sun, 3 Feb 2013 12:15:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by hemlock.osuosl.org (Postfix) with ESMTP id 0CD54A0017 for ; Sun, 3 Feb 2013 12:15:34 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 4DED6831; Sun, 3 Feb 2013 13:15:32 +0100 (CET) Received: from localhost (168.77.ipv4.fosdem.net [151.216.77.168]) by mail.free-electrons.com (Postfix) with ESMTPSA id F20675C7 for ; Sun, 3 Feb 2013 13:15:31 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 3 Feb 2013 13:15:28 +0100 Message-Id: <1359893728-4345-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1359893728-4345-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1359893728-4345-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 2/2] tvheadend: 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 tvheadend requires an atomic_add operation. Either you have a gcc >= 4.3 toolchain and it uses the gcc intrinsics, or it has special code for x86, x86-64, PPC and ARM. So in the context of Buildroot, the only really problematic architecture is avr32, which uses gcc 4.2. Fixes http://autobuild.buildroot.org/results/f015b1888d739c383aca61609059aa7675a4da7d/build-end.log Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" --- package/tvheadend/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in index 899b160..19ab276 100644 --- a/package/tvheadend/Config.in +++ b/package/tvheadend/Config.in @@ -4,6 +4,12 @@ comment "tvheadend requires a toolchain with LARGEFILE and IPv6 support" config BR2_PACKAGE_TVHEADEND bool "tvheadend" depends on BR2_LARGEFILE && BR2_INET_IPV6 + # tvheadend requires an atomic_add operation. Either you have + # a gcc >= 4.3 toolchain and it uses the gcc intrinsics, or it + # has special code for x86, x86-64, PPC and ARM. So in the + # context of Buildroot, the only really problematic + # architecture is avr32, which uses gcc 4.2. + depends on !BR2_avr32 select BR2_PACKAGE_DVB_APPS select BR2_PACKAGE_OPENSSL help