diff options
| author | Paul Cercueil <paul@crapouillou.net> | 2014-08-06 01:00:10 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-02 19:10:52 +0100 |
| commit | 952391db0477d1baa9c451fe0b3dabbfaef5a9b7 (patch) | |
| tree | 6f677cca6ed668f09a4cc3d2921232804ff83b45 /package/lightning/Config.in | |
| parent | 6a508d93610d63b6abedca990833b038429fc3f0 (diff) | |
| download | buildroot-952391db0477d1baa9c451fe0b3dabbfaef5a9b7.tar.gz buildroot-952391db0477d1baa9c451fe0b3dabbfaef5a9b7.zip | |
lightning: new package
GNU lightning is a library that generates assembly language code at
run-time.
https://www.gnu.org/software/lightning/
[Thomas:
- Wrap list of architectures in Config.in
- Introduce an explicit Config.in option for the disassembler
support, since it needs both binutils and zlib, which may not be
easy to guess.
- Add hash file.
- Bump to version 2.0.5.
- Add patch to fix cross-compilation issues on ARM and x86 due to
AC_RUN_IFELSE() tests.
- Adjust license information: the library is actually under LGPLv3+,
not GPLv3. There is a COPYING file with the text of the GPLv3 in
the code base, but this license doesn't seem to be used in anything
that is actually installed.
- Add AUTORECONF = YES since we're now patching configure.ac.
- Add missing dependency on zlib for the disassembler support.
- Add a special LIBS=-lintl when enabling the disassembler support
because binutils libraries use gettext functions, but they are not
linked against libintl.]
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lightning/Config.in')
| -rw-r--r-- | package/lightning/Config.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/lightning/Config.in b/package/lightning/Config.in new file mode 100644 index 0000000000..8caf39f402 --- /dev/null +++ b/package/lightning/Config.in @@ -0,0 +1,26 @@ +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/ + +if BR2_PACKAGE_LIGHTNING + +config BR2_PACKAGE_LIGHTNING_DISASSEMBLER + bool "enable disassembler" + select BR2_PACKAGE_BINUTILS + select BR2_PACKAGE_ZLIB + depends on !BR2_aarch64 && !BR2_nios2 # binutils + depends on BR2_USE_WCHAR # binutils + help + Enable the GNU lightning disassembler. + +comment "lightning disassembler needs a toolchain w/ wchar" + depends on !BR2_aarch64 && !BR2_nios2 + depends on !BR2_USE_WCHAR + +endif |

