From patchwork Tue Aug 4 15:53:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Heading X-Patchwork-Id: 503665 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id EAD5F140325 for ; Wed, 5 Aug 2015 01:53:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=HNrWSmXJ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 81C6490FCA; Tue, 4 Aug 2015 15:53:10 +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 ElsUyT6Gt80H; Tue, 4 Aug 2015 15:53:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B992B90FF7; Tue, 4 Aug 2015 15:53:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A08DA1C1EF7 for ; Tue, 4 Aug 2015 15:53:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9D197A3E77 for ; Tue, 4 Aug 2015 15:53:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wmhxCH0tWnrH for ; Tue, 4 Aug 2015 15:53:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by fraxinus.osuosl.org (Postfix) with ESMTPS id D59BEA3E72 for ; Tue, 4 Aug 2015 15:53:05 +0000 (UTC) Received: by wibxm9 with SMTP id xm9so172561125wib.0 for ; Tue, 04 Aug 2015 08:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=hjXH5OB2K/sMy8tohzYaZP6CBY+NGUo/9b7zotpZh7E=; b=HNrWSmXJ4nDh0iQ/yFITd0uwdYwfOPbeNWMah6/bIXTcDYOBpA5p4DqndmAtb/57qw OdZvNz04NHJHc0UFV0fUyCAM6uVrCOVuAPLx/c8r6o+T0hhSmCzdGlh+FEbmdsejphWb aM/wiajlhlTX1JZA8gwJQkjbmqCRu6GU2M4UuTkQ8/+IKpT2XNLgAgypB69ZIq+3dufC +JXofhEwiYg/zTe7StlFtZ4Sftwv57oqlyv7GsQDVRA+CojnO0HjN7xAhn/4+QE4+6K8 UdSNKZA95oxsUEk6t9mURP+pY2zPf7sG4PqT8hOPTjCdxje40o4MJT57ivlkxPUqRndM T8qQ== X-Received: by 10.194.103.130 with SMTP id fw2mr10013054wjb.121.1438703584430; Tue, 04 Aug 2015 08:53:04 -0700 (PDT) Received: from bhfedora.localdomain ([82.15.84.251]) by smtp.gmail.com with ESMTPSA id dn8sm3036432wib.12.2015.08.04.08.53.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 08:53:03 -0700 (PDT) From: Brendan Heading To: buildroot@buildroot.org Date: Tue, 4 Aug 2015 16:53:01 +0100 Message-Id: <1438703581-25996-1-git-send-email-brendanheading@gmail.com> X-Mailer: git-send-email 2.4.3 Cc: Brendan Heading Subject: [Buildroot] [PATCH 1/1] package/empty - fix build failure X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Fixes http://autobuild.buildroot.net/results/e07/e07aec9a839e89b7452b13bf5445164530e27414/ "empty" fails to build if _POSIX_SEMAPHORES is not defined, which is the case on a toolchain with no threading support. Signed-off-by: Brendan Heading --- package/empty/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/empty/Config.in b/package/empty/Config.in index 7fd0877..9a77f8d 100644 --- a/package/empty/Config.in +++ b/package/empty/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_EMPTY bool "empty" depends on BR2_USE_MMU # uses fork() + depends on BR2_TOOLCHAIN_HAS_THREADS help Run processes and applications under pseudo-terminal (PTY) sessions. http://empty.sourceforge.net/ + +comment "empty needs a toolchain w/ threads" + depends on BR2_TOOLCHAIN_HAS_THREADS