From patchwork Fri Apr 26 10:25:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 239794 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 8E0DA2C00F8 for ; Fri, 26 Apr 2013 20:25:44 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 740128D674; Fri, 26 Apr 2013 10:25:39 +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 xeYxZ3QpPwjm; Fri, 26 Apr 2013 10:25:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A75978D65A; Fri, 26 Apr 2013 10:25:33 +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 B38748F753 for ; Fri, 26 Apr 2013 10:25:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B43B8D64E for ; Fri, 26 Apr 2013 10:25:31 +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 ZfrYh7scwWEb for ; Fri, 26 Apr 2013 10:25:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by whitealder.osuosl.org (Postfix) with ESMTPS id 07D0C8D643 for ; Fri, 26 Apr 2013 10:25:29 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id x43so3349353wey.25 for ; Fri, 26 Apr 2013 03:25:28 -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=J3cYBRoQpmQq4B7kT1tw8ec969nomtIat5ALey+bUQU=; b=Yjyei0l8UJSyN0y70i2bBWVXKZmn4du/RBMuyLlM4RIkPpp9JIgWHOoO3RIQpRD243 y7h9HetpoDjGhU5xd+vPLTp5HY2WhGU3I/4O8bnW9ll36nOc5ChOvVEUf6jOFSCko9T8 lCjoUhXzJ8MMBCZwTrj72P1ZPCxlUBxVEChN0Ev50+dsOCawh6aKChl+YGYOGR3FRrYX +MlE0DwQ4RZsxQBmEs223cTlB4qdGgbJ0kt1S5DEkMJfuzPEw+L3ktKn0rFuzctkfmgC aVkEh+nFBeIUXxtizT1+5zkG9Qkh5dvauUXish2hbPzSWZcYF8RJFaBeOD2eR+kk6WV+ qAfQ== X-Received: by 10.194.219.162 with SMTP id pp2mr2450484wjc.27.1366971928681; Fri, 26 Apr 2013 03:25:28 -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 a9sm2779555wiv.0.2013.04.26.03.25.27 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 03:25:27 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Fri, 26 Apr 2013 11:25:26 +0100 Message-Id: <1366971926-16475-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] neardal: add support for ncl tool 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/neardal/Config.in | 6 ++++++ package/neardal/neardal.mk | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/package/neardal/Config.in b/package/neardal/Config.in index 045ccee..b3ac67d 100644 --- a/package/neardal/Config.in +++ b/package/neardal/Config.in @@ -13,3 +13,9 @@ config BR2_PACKAGE_NEARDAL comment "neardal requires a toolchain with WCHAR and threads support" depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_NEARDAL_NCL + bool "neardal ncl tool" + depends on BR2_PACKAGE_NEARDAL + help + Build and install neardal ncl command line interpreter tool. diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk index 9625f0e..b937acb 100644 --- a/package/neardal/neardal.mk +++ b/package/neardal/neardal.mk @@ -14,4 +14,12 @@ NEARDAL_LICENSE_FILES = COPYING NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib NEARDAL_AUTORECONF = YES +define NEARDAL_INSTALL_NCL + $(INSTALL) -m 0755 -D $(@D)/ncl/ncl $(TARGET_DIR)/usr/bin/ncl +endef + +ifeq ($(BR2_PACKAGE_NEARDAL_NCL),y) + NEARDAL_POST_INSTALL_TARGET_HOOKS += NEARDAL_INSTALL_NCL +endif + $(eval $(autotools-package))