All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] lightning: Added package
Date: Sat, 09 Aug 2014 15:45:07 +0200	[thread overview]
Message-ID: <53E625E3.7030707@crapouillou.net> (raw)
In-Reply-To: <20140806031244.GN2322@tarshish>

Hi Baruch,

Le 06/08/2014 05:12, Baruch Siach a ?crit :
> Hi Paul,
>
> On Wed, Aug 06, 2014 at 01:00:10AM +0200, Paul Cercueil wrote:
>> GNU lightning is a library that generates assembly language code
>> at run-time.
>>
>> https://www.gnu.org/software/lightning/
>>
>> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
>> ---
>>   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
>
> Have you tested external toolchains?
>
> baruch

No I did not, as I don't use one. Furthermore, I only tested the package 
on mipsel, the list of archs specified in this package is taken from 
lightning's web page and may be incorrect (hopefully not).

Regards,

Paul

>
>> +
>> +$(eval $(autotools-package))
>

  reply	other threads:[~2014-08-09 13:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 23:00 [Buildroot] [PATCH 1/2] binutils: Also install libopcodes in staging Paul Cercueil
2014-08-05 23:00 ` [Buildroot] [PATCH 2/2] lightning: Added package Paul Cercueil
2014-08-06  3:12   ` Baruch Siach
2014-08-09 13:45     ` Paul Cercueil [this message]
2014-08-12  9:10       ` Baruch Siach
2014-08-12 16:53         ` Thomas Petazzoni
2015-01-02 18:16   ` Thomas Petazzoni
2015-01-02 18:15 ` [Buildroot] [PATCH 1/2] binutils: Also install libopcodes in staging Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53E625E3.7030707@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.