xref: /OK3568_Linux_fs/buildroot/package/quickjs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_QUICKJS
2*4882a593Smuzhiyun	bool "quickjs"
3*4882a593Smuzhiyun	depends on !BR2_nios2 # fenv.h lacks FE_{DOWN,UP}WARD on nios2
4*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
5*4882a593Smuzhiyun	# No way to check for fenv support.
6*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_USES_UCLIBC
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
8*4882a593Smuzhiyun	depends on BR2_HOST_GCC_AT_LEAST_4_9 # C11/stdatomic.h
9*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork()
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  QuickJS is a small and embeddable Javascript engine.
12*4882a593Smuzhiyun	  It supports the ES2020 specification including modules,
13*4882a593Smuzhiyun	  asynchronous generators, proxies and BigInt.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  https://bellard.org/quickjs/
16*4882a593Smuzhiyun
17*4882a593Smuzhiyuncomment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library"
18*4882a593Smuzhiyun	depends on !BR2_nios2
19*4882a593Smuzhiyun	depends on BR2_USE_MMU
20*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \
21*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_4_9
22