hc
2023-11-06 15ade055295d13f95d49e3d99b09f3bbfb4a43e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
   bool
   default y if BR2_arm
   default y if BR2_aarch64
   default y if BR2_i386
   default y if BR2_x86_64
 
config BR2_PACKAGE_ZLIB
   bool "zlib support"
   help
     Select the desired Zlib library provider.
 
if BR2_PACKAGE_ZLIB
 
choice
   prompt "zlib variant"
   default BR2_PACKAGE_LIBZLIB
   help
     Select the desired Zlib library provider.
 
config BR2_PACKAGE_LIBZLIB
   bool "zlib"
   select BR2_PACKAGE_HAS_ZLIB
   help
     Standard (de)compression library. Used by things like
     gzip and libpng.
 
     http://www.zlib.net
 
config BR2_PACKAGE_ZLIB_NG
   bool "zlib-ng"
   depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
   select BR2_PACKAGE_HAS_ZLIB
   help
     Zlib replacement with optimizations for
     "next generation" systems.
 
     https://github.com/mtl1979/zlib-ng/tree/renamelib
 
endchoice
 
config BR2_PACKAGE_HAS_ZLIB
   bool
 
config BR2_PACKAGE_PROVIDES_ZLIB
   string
   default "libzlib" if BR2_PACKAGE_LIBZLIB
   default "zlib-ng" if BR2_PACKAGE_ZLIB_NG
 
endif
 
# ensure libzlib is used for the host variant
config BR2_PACKAGE_PROVIDES_HOST_ZLIB
   string
   default "host-libzlib"