From patchwork Thu Jun 27 13:53:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 255084 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 08D6C2C0079 for ; Thu, 27 Jun 2013 23:54:59 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9DB6AA0253; Thu, 27 Jun 2013 13:54:53 +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 H+rBE1pQnawl; Thu, 27 Jun 2013 13:54:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 72997A00D1; Thu, 27 Jun 2013 13:54:49 +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 230FE8F79F for ; Thu, 27 Jun 2013 13:54:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ED61684F73 for ; Thu, 27 Jun 2013 13:54:51 +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 8vWAUbR0Q5zd for ; Thu, 27 Jun 2013 13:54:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0395F8D03F for ; Thu, 27 Jun 2013 13:53:25 +0000 (UTC) Received: from asgard (host74.190-225-100.telecom.net.ar [190.225.100.74]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r5RDrJFt011893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Jun 2013 13:53:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1372341203; bh=/K5oToc7cMjBQ+wnKVdRICkMLlYJfh2XK8Xel1/zajk=; h=From:To:Cc:Subject:Date; b=fE0M5+ZZAaSO+Wq/bMl3F2BU++ZhE5WbVs3K6gq3aRBIzrA9XgneWEIPdWuClGqH3 OO8u5PSCnWBMI44leOpXbWfKQR7H3m1GTT5B9r0fN6thoTAIM7BeXJv2+eqe4A1mTR JImf9/WOKG9QbmURwsoRv2g1A0S9HGxpzSb8ngGs= Received: by asgard (sSMTP sendmail emulation); Thu, 27 Jun 2013 10:53:17 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Thu, 27 Jun 2013 10:53:17 -0300 Message-Id: <1372341197-7903-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] libbsd: needs threads 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 Fixes: http://autobuild.buildroot.net/results/397/39728c5eeb6c4e213cd96cb6639bc28f337bf214/ Signed-off-by: Gustavo Zacarias --- package/libbsd/Config.in | 5 +++++ package/libedit/Config.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in index 915a4bd..1fa9497 100644 --- a/package/libbsd/Config.in +++ b/package/libbsd/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBBSD # libbsd requires a.out.h, which is only available for those # architectures: arm, m68k, x86 (and alpha, but we don't care.) depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 ) + depends on BR2_TOOLCHAIN_HAS_THREADS help This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making @@ -11,3 +12,7 @@ config BR2_PACKAGE_LIBBSD project. http://libbsd.freedesktop.org/ + +comment "libbsd requires a toolchain with thread support" + depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 ) + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/libedit/Config.in b/package/libedit/Config.in index 34160f4..7a515db 100644 --- a/package/libedit/Config.in +++ b/package/libedit/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBEDIT bool "libedit" depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 ) # libbsd + depends on BR2_TOOLCHAIN_HAS_THREADS # libbsd select BR2_PACKAGE_LIBBSD select BR2_PACKAGE_NCURSES help @@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBEDIT and history functions. It slightly resembles GNU readline. http://ftp.netbsd.org/pub/NetBSD/NetBSD-release-5-0/src/lib/libedit/ + +comment "libedit requires a toolchain with thread support" + depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 ) # libbsd + depends on !BR2_TOOLCHAIN_HAS_THREADS # libbsd