From patchwork Tue Aug 5 23:00:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 376818 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 4AEE414012A for ; Wed, 6 Aug 2014 09:00:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 544C98BDB0; Tue, 5 Aug 2014 23:00:40 +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 xYAc8leT1+Hg; Tue, 5 Aug 2014 23:00:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C005F8BDD5; Tue, 5 Aug 2014 23:00:38 +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 D59501CED18 for ; Tue, 5 Aug 2014 23:00:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D18CE8BA26 for ; Tue, 5 Aug 2014 23:00:35 +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 KHPxTk3B-qxE for ; Tue, 5 Aug 2014 23:00:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from marvin.crapouillou.net (rev33.vpn.fdn.fr [80.67.179.33]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4D5418BA04 for ; Tue, 5 Aug 2014 23:00:34 +0000 (UTC) Received: from acaen-252-1-6-225.w90-62.abo.wanadoo.fr ([90.62.133.225] helo=localhost.localdomain) by marvin.crapouillou.net with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from ) id 1XEniX-0000D6-At; Wed, 06 Aug 2014 01:00:29 +0200 From: Paul Cercueil To: buildroot@busybox.net Date: Wed, 6 Aug 2014 01:00:10 +0200 Message-Id: <1407279610-15589-2-git-send-email-paul@crapouillou.net> X-Mailer: git-send-email 2.0.1 In-Reply-To: <1407279610-15589-1-git-send-email-paul@crapouillou.net> References: <1407279610-15589-1-git-send-email-paul@crapouillou.net> Cc: Paul Cercueil Subject: [Buildroot] [PATCH 2/2] lightning: Added package 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 GNU lightning is a library that generates assembly language code at run-time. https://www.gnu.org/software/lightning/ Signed-off-by: Paul Cercueil --- package/Config.in | 1 + package/lightning/Config.in | 8 ++++++++ package/lightning/lightning.mk | 18 ++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/lightning/Config.in create mode 100644 package/lightning/lightning.mk diff --git a/package/Config.in b/package/Config.in index 1e4bc50..6ca10a8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -864,6 +864,7 @@ menu "Other" source "package/libunwind/Config.in" source "package/liburcu/Config.in" source "package/libuv/Config.in" + source "package/lightning/Config.in" source "package/linux-pam/Config.in" source "package/lttng-libust/Config.in" source "package/mpc/Config.in" diff --git a/package/lightning/Config.in b/package/lightning/Config.in new file mode 100644 index 0000000..5a7152a --- /dev/null +++ b/package/lightning/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIGHTNING + bool "lightning" + depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || BR2_mipsel || BR2_arm || BR2_powerpc + help + GNU lightning is a library that generates + assembly language code at run-time. + + https://www.gnu.org/software/lightning/ diff --git a/package/lightning/lightning.mk b/package/lightning/lightning.mk new file mode 100644 index 0000000..ff3ea92 --- /dev/null +++ b/package/lightning/lightning.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# lightning +# +################################################################################ + +LIGHTNING_VERSION = 2.0.4 +LIGHTNING_SITE = http://ftp.gnu.org/gnu/lightning/ +LIGHTNING_LICENSE = GPLv3 +LIGHTNING_LICENSE_FILES = COPYING +LIGHTNING_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_BINUTILS),y) +LIGHTNING_DEPENDENCIES += binutils +LIGHTNING_CONF_OPT += --enable-disassembler +endif + +$(eval $(autotools-package))