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