xref: /OK3568_Linux_fs/buildroot/package/lightning/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "lightning needs a toolchain w/ dynamic library"
2	depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
3		BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
4	depends on BR2_STATIC_LIBS
5
6config BR2_PACKAGE_LIGHTNING
7	bool "lightning"
8	depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
9		BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
10	depends on !BR2_STATIC_LIBS
11	help
12	  GNU lightning is a library that generates
13	  assembly language code at run-time.
14
15	  https://www.gnu.org/software/lightning/
16
17if BR2_PACKAGE_LIGHTNING
18
19config BR2_PACKAGE_LIGHTNING_DISASSEMBLER
20	bool "enable disassembler"
21	depends on !BR2_nios2 # binutils
22	depends on BR2_USE_WCHAR # binutils
23	select BR2_PACKAGE_BINUTILS
24	select BR2_PACKAGE_ZLIB
25	help
26	  Enable the GNU lightning disassembler.
27
28comment "lightning disassembler needs a toolchain w/ wchar"
29	depends on !BR2_nios2
30	depends on !BR2_USE_WCHAR
31
32endif
33