From patchwork Fri Apr 26 11:25:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 239807 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 50D8C2C010E for ; Fri, 26 Apr 2013 21:25:59 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 17D6B8D68F; Fri, 26 Apr 2013 11:25:57 +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 icFZFlZ0v+ld; Fri, 26 Apr 2013 11:25:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B78FB8D683; Fri, 26 Apr 2013 11:25:55 +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 796D78F753 for ; Fri, 26 Apr 2013 11:26:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 654448D683 for ; Fri, 26 Apr 2013 11:25:54 +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 1D0AJYBEIPAt for ; Fri, 26 Apr 2013 11:25:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0B9A48D58D for ; Fri, 26 Apr 2013 11:25:52 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id l13so568611wie.1 for ; Fri, 26 Apr 2013 04:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer; bh=zLL9y37v/H7B/VOA076VAjrtkpr44mLfkrsYG79R9ck=; b=FUP/C+ZV7kNaMwbeuUKESiRvH26qs8hcNHf0x6DKx0bFoJGByVh7RtJcDhQem+s9MW 62a1rfLoKTeE582l4Iwor7IGYqm2h/MtyX/Lza3BsELukZDXdE9v0H+wVluCFZhGQqwW bTlp8mrQocTGvHacIazKXMhTaX2xVvuBiB/kHQTG7g53COTapGcRwo+N0GKuQd5/WylZ WunGvzqzzynowJZG8IpHGF8CPMQGCwR8H2brnPNXHeM0H0SNpjxIKs4pIqiGQgE/cdkQ BiVd0XQxar5n0Tm5/JcN7mGZEWRnpvKyYqJyqnkyXJyooUwQ8NuBDAKkfauMgm/T27/g JAXA== X-Received: by 10.180.105.195 with SMTP id go3mr3403079wib.2.1366975551740; Fri, 26 Apr 2013 04:25:51 -0700 (PDT) Received: from localhost.localdomain (host86-134-29-90.range86-134.btcentralplus.com. [86.134.29.90]) by mx.google.com with ESMTPSA id ed6sm3150572wib.9.2013.04.26.04.25.50 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 04:25:50 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Fri, 26 Apr 2013 12:25:48 +0100 Message-Id: <1366975548-23606-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] neard: add support for tools 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 Signed-off-by: Simon Dawson --- package/neard/Config.in | 6 ++++++ package/neard/neard.mk | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/package/neard/Config.in b/package/neard/Config.in index bcf6171..ec1fcb3 100644 --- a/package/neard/Config.in +++ b/package/neard/Config.in @@ -14,5 +14,11 @@ config BR2_PACKAGE_NEARD https://01.org/linux-nfc/documentation/how-start-linux-nfc-code... +config BR2_PACKAGE_NEARD_TOOLS + bool "neard tools" + depends on BR2_PACKAGE_NEARD + help + Build and install neard tools. + comment "neard requires a toolchain with WCHAR and threads support" depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/neard/neard.mk b/package/neard/neard.mk index 056875c..cc6aeac 100644 --- a/package/neard/neard.mk +++ b/package/neard/neard.mk @@ -13,4 +13,8 @@ NEARD_AUTORECONF = YES NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl NEARD_CONF_OPT = --disable-traces +ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y) + NEARD_CONF_OPT += --enable-tools +endif + $(eval $(autotools-package))