From patchwork Sat Oct 3 19:50:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 526005 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 0D8B2140D16 for ; Sun, 4 Oct 2015 06:51:36 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=zjaZl1QE; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 14AF587D1C; Sat, 3 Oct 2015 19:51:34 +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 LWmVHiBpkC0s; Sat, 3 Oct 2015 19:51:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4955E87E2B; Sat, 3 Oct 2015 19:51:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BFBF51C08FE for ; Sat, 3 Oct 2015 19:51:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BBC9D8A1D2 for ; Sat, 3 Oct 2015 19:51:30 +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 HnIQa+h9H3tH for ; Sat, 3 Oct 2015 19:51:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id DB7228A1B4 for ; Sat, 3 Oct 2015 19:51:29 +0000 (UTC) Received: by wicgb1 with SMTP id gb1so71878255wic.1 for ; Sat, 03 Oct 2015 12:51:28 -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:in-reply-to:references; bh=U4Gzqi6NuARCrMoYAvUhZcKGOScLRBb+DV3LM0OFopI=; b=zjaZl1QE5NfU20F/nRw9MlvAl8q9jRz+BhnErauZXJWPkPfNOPwFSrQWhtHUB1eXTF J9hrGkyg0Sb0ZxZCmYwaCxwp+EA6v3Hyq3KAOE7CwzZ9fl1n7g2koP2KBhqbeNZzI+HK 6ybUbtZ561ucqzu8jZpX5UmnYzDDicba1PzPj6fcSXvG+xlTrf/Z5M2Imiosx37fpRh7 EIAxcHnqRoqLGcDDXDuJsdeHLv/J7Q5qv1vQFKh6WK9sKw1lAyHMI/m/GGiELjXc4jnE PVNJbVTpKqAVnE7fZxOTEIuWx7TwILGYQFMBEG6Uo+/73kqN03VOVOCOv5Enr2T8iET6 iZZA== X-Received: by 10.180.10.197 with SMTP id k5mr3499300wib.22.1443901888505; Sat, 03 Oct 2015 12:51:28 -0700 (PDT) Received: from localhost.localdomain (LPoitiers-656-1-204-92.w80-11.abo.wanadoo.fr. [80.11.219.92]) by smtp.gmail.com with ESMTPSA id t7sm5637970wia.9.2015.10.03.12.51.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 03 Oct 2015 12:51:27 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Sat, 3 Oct 2015 21:50:27 +0200 Message-Id: <1443901828-11390-3-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.5.3 In-Reply-To: <1443901828-11390-1-git-send-email-maxime.hadjinlian@gmail.com> References: <1443901828-11390-1-git-send-email-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH v2 3/4] libnfs: Without native RPC use libtirpc 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" Signed-off-by Maxime Hadjinlian Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- v1 -> v2: - Don't depends on blackfin toolchain (is removed by previous patch) --- package/libnfs/Config.in | 7 ++++--- package/libnfs/libnfs.mk | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/libnfs/Config.in b/package/libnfs/Config.in index 6642fe4..2a1ef03 100644 --- a/package/libnfs/Config.in +++ b/package/libnfs/Config.in @@ -1,10 +1,11 @@ config BR2_PACKAGE_LIBNFS bool "libnfs" - depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc + select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC help nfs userspace implementation. http://github.com/sahlberg/libnfs -comment "libnfs needs a toolchain w/ RPC" - depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC +comment "libnfs needs a toolchain w/ threads" + depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk index 0c8c4f5..fb95e21 100644 --- a/package/libnfs/libnfs.mk +++ b/package/libnfs/libnfs.mk @@ -13,4 +13,8 @@ LIBNFS_LICENSE = LGPLv2.1+ LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt LIBNFS_DEPENDENCIES = host-pkgconf +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +LIBNFS_DEPENDENCIES += libtirpc +endif + $(eval $(autotools-package))