OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 2 Rev 3
1 # 1 #
2 # Copyright (C) 2011 OpenWrt.org 2 # Copyright (C) 2011 OpenWrt.org
3 # 3 #
4 # This is free software, licensed under the GNU General Public License v2. 4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information. 5 # See /LICENSE for more information.
6 # 6 #
7   7  
8 LIB_MENU:=Libraries 8 LIB_MENU:=Libraries
9   9  
10 define KernelPackage/lib-crc-ccitt 10 define KernelPackage/lib-crc-ccitt
11 SUBMENU:=$(LIB_MENU) 11 SUBMENU:=$(LIB_MENU)
12 TITLE:=CRC-CCITT support 12 TITLE:=CRC-CCITT support
13 KCONFIG:=CONFIG_CRC_CCITT 13 KCONFIG:=CONFIG_CRC_CCITT
14 FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko 14 FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
15 AUTOLOAD:=$(call AutoProbe,crc-ccitt) 15 AUTOLOAD:=$(call AutoProbe,crc-ccitt)
16 endef 16 endef
17   17  
18 define KernelPackage/lib-crc-ccitt/description 18 define KernelPackage/lib-crc-ccitt/description
19 Kernel module for CRC-CCITT support 19 Kernel module for CRC-CCITT support
20 endef 20 endef
21   21  
22 $(eval $(call KernelPackage,lib-crc-ccitt)) 22 $(eval $(call KernelPackage,lib-crc-ccitt))
23   23  
24   24  
25 define KernelPackage/lib-crc-itu-t 25 define KernelPackage/lib-crc-itu-t
26 SUBMENU:=$(LIB_MENU) 26 SUBMENU:=$(LIB_MENU)
27 TITLE:=CRC ITU-T V.41 support 27 TITLE:=CRC ITU-T V.41 support
28 KCONFIG:=CONFIG_CRC_ITU_T 28 KCONFIG:=CONFIG_CRC_ITU_T
29 FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko 29 FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
30 AUTOLOAD:=$(call AutoProbe,crc-itu-t) 30 AUTOLOAD:=$(call AutoProbe,crc-itu-t)
31 endef 31 endef
32   32  
33 define KernelPackage/lib-crc-itu-t/description 33 define KernelPackage/lib-crc-itu-t/description
34 Kernel module for CRC ITU-T V.41 support 34 Kernel module for CRC ITU-T V.41 support
35 endef 35 endef
36   36  
37 $(eval $(call KernelPackage,lib-crc-itu-t)) 37 $(eval $(call KernelPackage,lib-crc-itu-t))
38   38  
39   39  
40 define KernelPackage/lib-crc7 40 define KernelPackage/lib-crc7
41 SUBMENU:=$(LIB_MENU) 41 SUBMENU:=$(LIB_MENU)
42 TITLE:=CRC7 support 42 TITLE:=CRC7 support
43 KCONFIG:=CONFIG_CRC7 43 KCONFIG:=CONFIG_CRC7
44 FILES:=$(LINUX_DIR)/lib/crc7.ko 44 FILES:=$(LINUX_DIR)/lib/crc7.ko
45 AUTOLOAD:=$(call AutoProbe,crc7) 45 AUTOLOAD:=$(call AutoProbe,crc7)
46 endef 46 endef
47   47  
48 define KernelPackage/lib-crc7/description 48 define KernelPackage/lib-crc7/description
49 Kernel module for CRC7 support 49 Kernel module for CRC7 support
50 endef 50 endef
51   51  
52 $(eval $(call KernelPackage,lib-crc7)) 52 $(eval $(call KernelPackage,lib-crc7))
53   53  
54   54  
55 define KernelPackage/lib-crc8 55 define KernelPackage/lib-crc8
56 SUBMENU:=$(LIB_MENU) 56 SUBMENU:=$(LIB_MENU)
57 TITLE:=CRC8 support 57 TITLE:=CRC8 support
58 KCONFIG:=CONFIG_CRC8 58 KCONFIG:=CONFIG_CRC8
59 FILES:=$(LINUX_DIR)/lib/crc8.ko 59 FILES:=$(LINUX_DIR)/lib/crc8.ko
60 AUTOLOAD:=$(call AutoProbe,crc8) 60 AUTOLOAD:=$(call AutoProbe,crc8)
61 endef 61 endef
62   62  
63 define KernelPackage/lib-crc8/description 63 define KernelPackage/lib-crc8/description
64 Kernel module for CRC8 support 64 Kernel module for CRC8 support
65 endef 65 endef
66   66  
67 $(eval $(call KernelPackage,lib-crc8)) 67 $(eval $(call KernelPackage,lib-crc8))
68   68  
69   69  
70 define KernelPackage/lib-crc16 70 define KernelPackage/lib-crc16
71 SUBMENU:=$(LIB_MENU) 71 SUBMENU:=$(LIB_MENU)
72 TITLE:=CRC16 support 72 TITLE:=CRC16 support
73 KCONFIG:=CONFIG_CRC16 73 KCONFIG:=CONFIG_CRC16
74 FILES:=$(LINUX_DIR)/lib/crc16.ko 74 FILES:=$(LINUX_DIR)/lib/crc16.ko
75 AUTOLOAD:=$(call AutoLoad,20,crc16,1) 75 AUTOLOAD:=$(call AutoLoad,20,crc16,1)
76 endef 76 endef
77   77  
78 define KernelPackage/lib-crc16/description 78 define KernelPackage/lib-crc16/description
79 Kernel module for CRC16 support 79 Kernel module for CRC16 support
80 endef 80 endef
81   81  
82 $(eval $(call KernelPackage,lib-crc16)) 82 $(eval $(call KernelPackage,lib-crc16))
83   83  
84   84  
85 define KernelPackage/lib-crc32c 85 define KernelPackage/lib-crc32c
86 SUBMENU:=$(LIB_MENU) 86 SUBMENU:=$(LIB_MENU)
87 TITLE:=CRC32 support 87 TITLE:=CRC32 support
88 KCONFIG:=CONFIG_LIBCRC32C 88 KCONFIG:=CONFIG_LIBCRC32C
89 DEPENDS:=+kmod-crypto-crc32c 89 DEPENDS:=+kmod-crypto-crc32c
90 FILES:=$(LINUX_DIR)/lib/libcrc32c.ko 90 FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
91 AUTOLOAD:=$(call AutoProbe,libcrc32c) 91 AUTOLOAD:=$(call AutoProbe,libcrc32c)
92 endef 92 endef
93   93  
94 define KernelPackage/lib-crc32c/description 94 define KernelPackage/lib-crc32c/description
95 Kernel module for CRC32 support 95 Kernel module for CRC32 support
96 endef 96 endef
97   97  
98 $(eval $(call KernelPackage,lib-crc32c)) 98 $(eval $(call KernelPackage,lib-crc32c))
99   99  
100   100  
101 define KernelPackage/lib-lzo 101 define KernelPackage/lib-lzo
102 SUBMENU:=$(LIB_MENU) 102 SUBMENU:=$(LIB_MENU)
103 TITLE:=LZO support 103 TITLE:=LZO support
104 DEPENDS:=+!(LINUX_3_18||LINUX_4_9):kmod-crypto-acompress 104 DEPENDS:=+LINUX_4_14:kmod-crypto-acompress
105 KCONFIG:= \ 105 KCONFIG:= \
106 CONFIG_CRYPTO_LZO@ge4.9 \ 106 CONFIG_CRYPTO_LZO@ge4.9 \
107 CONFIG_LZO_COMPRESS \ 107 CONFIG_LZO_COMPRESS \
108 CONFIG_LZO_DECOMPRESS 108 CONFIG_LZO_DECOMPRESS
109 HIDDEN:=1 109 HIDDEN:=1
110 FILES:= \ 110 FILES:= \
111 $(LINUX_DIR)/crypto/lzo.ko@ge4.9 \ 111 $(LINUX_DIR)/crypto/lzo.ko@ge4.9 \
112 $(LINUX_DIR)/lib/lzo/lzo_compress.ko \ 112 $(LINUX_DIR)/lib/lzo/lzo_compress.ko \
113 $(LINUX_DIR)/lib/lzo/lzo_decompress.ko 113 $(LINUX_DIR)/lib/lzo/lzo_decompress.ko
114 AUTOLOAD:=$(call AutoProbe,lzo@ge4.9 lzo_compress lzo_decompress) 114 AUTOLOAD:=$(call AutoProbe,lzo@ge4.9 lzo_compress lzo_decompress)
115 endef 115 endef
116   116  
117 define KernelPackage/lib-lzo/description 117 define KernelPackage/lib-lzo/description
118 Kernel module for LZO compression/decompression support 118 Kernel module for LZO compression/decompression support
119 endef 119 endef
120   120  
121 $(eval $(call KernelPackage,lib-lzo)) 121 $(eval $(call KernelPackage,lib-lzo))
122   122  
123   123  
124 define KernelPackage/lib-zstd 124 define KernelPackage/lib-zstd
125 SUBMENU:=$(LIB_MENU) 125 SUBMENU:=$(LIB_MENU)
126 TITLE:=ZSTD support 126 TITLE:=ZSTD support
127 KCONFIG:= \ 127 KCONFIG:= \
128 CONFIG_ZSTD_COMPRESS \ 128 CONFIG_ZSTD_COMPRESS \
129 CONFIG_ZSTD_DECOMPRESS \ 129 CONFIG_ZSTD_DECOMPRESS \
130 CONFIG_XXHASH 130 CONFIG_XXHASH
131 HIDDEN:=1 131 HIDDEN:=1
132 FILES:= \ 132 FILES:= \
133 $(LINUX_DIR)/lib/xxhash.ko \ 133 $(LINUX_DIR)/lib/xxhash.ko \
134 $(LINUX_DIR)/lib/zstd/zstd_compress.ko \ 134 $(LINUX_DIR)/lib/zstd/zstd_compress.ko \
135 $(LINUX_DIR)/lib/zstd/zstd_decompress.ko 135 $(LINUX_DIR)/lib/zstd/zstd_decompress.ko
136 AUTOLOAD:=$(call AutoProbe,xxhash zstd_compress zstd_decompress) 136 AUTOLOAD:=$(call AutoProbe,xxhash zstd_compress zstd_decompress)
137 endef 137 endef
138   138  
139 define KernelPackage/lib-zstd/description 139 define KernelPackage/lib-zstd/description
140 Kernel module for ZSTD compression/decompression support 140 Kernel module for ZSTD compression/decompression support
141 endef 141 endef
142   142  
143 $(eval $(call KernelPackage,lib-zstd)) 143 $(eval $(call KernelPackage,lib-zstd))
144   144  
145   145  
146 define KernelPackage/lib-lz4 146 define KernelPackage/lib-lz4
147 SUBMENU:=$(LIB_MENU) 147 SUBMENU:=$(LIB_MENU)
148 TITLE:=LZ4 support 148 TITLE:=LZ4 support
149 DEPENDS:=+!(LINUX_3_18||LINUX_4_9):kmod-crypto-acompress 149 DEPENDS:=+LINUX_4_14:kmod-crypto-acompress
150 HIDDEN:=1 150 HIDDEN:=1
151 KCONFIG:= \ 151 KCONFIG:= \
152 CONFIG_CRYPTO_LZ4@ge4.9 \ 152 CONFIG_CRYPTO_LZ4@ge4.9 \
153 CONFIG_LZ4_COMPRESS \ 153 CONFIG_LZ4_COMPRESS \
154 CONFIG_LZ4_DECOMPRESS 154 CONFIG_LZ4_DECOMPRESS
155 FILES:= \ 155 FILES:= \
156 $(LINUX_DIR)/crypto/lz4.ko@ge4.9 \ 156 $(LINUX_DIR)/crypto/lz4.ko@ge4.9 \
157 $(LINUX_DIR)/lib/lz4/lz4_compress.ko \ 157 $(LINUX_DIR)/lib/lz4/lz4_compress.ko \
158 $(LINUX_DIR)/lib/lz4/lz4_decompress.ko 158 $(LINUX_DIR)/lib/lz4/lz4_decompress.ko
159 AUTOLOAD:=$(call AutoProbe,lz4@ge4.9 lz4_compress lz4_decompress) 159 AUTOLOAD:=$(call AutoProbe,lz4@ge4.9 lz4_compress lz4_decompress)
160 endef 160 endef
161   161  
162 define KernelPackage/lib-lz4/description 162 define KernelPackage/lib-lz4/description
163 Kernel module for LZ4 compression/decompression support 163 Kernel module for LZ4 compression/decompression support
164 endef 164 endef
165   165  
166 $(eval $(call KernelPackage,lib-lz4)) 166 $(eval $(call KernelPackage,lib-lz4))
167   167  
168   168  
169 define KernelPackage/lib-raid6 169 define KernelPackage/lib-raid6
170 SUBMENU:=$(LIB_MENU) 170 SUBMENU:=$(LIB_MENU)
171 TITLE:=RAID6 algorithm support 171 TITLE:=RAID6 algorithm support
172 HIDDEN:=1 172 HIDDEN:=1
173 KCONFIG:=CONFIG_RAID6_PQ 173 KCONFIG:=CONFIG_RAID6_PQ
174 FILES:=$(LINUX_DIR)/lib/raid6/raid6_pq.ko 174 FILES:=$(LINUX_DIR)/lib/raid6/raid6_pq.ko
175 AUTOLOAD:=$(call AutoProbe,raid6_pq) 175 AUTOLOAD:=$(call AutoProbe,raid6_pq)
176 endef 176 endef
177   177  
178 define KernelPackage/lib-raid6/description 178 define KernelPackage/lib-raid6/description
179 Kernel module for RAID6 algorithms 179 Kernel module for RAID6 algorithms
180 endef 180 endef
181   181  
182 $(eval $(call KernelPackage,lib-raid6)) 182 $(eval $(call KernelPackage,lib-raid6))
183   183  
184   184  
185 define KernelPackage/lib-xor 185 define KernelPackage/lib-xor
186 SUBMENU:=$(LIB_MENU) 186 SUBMENU:=$(LIB_MENU)
187 TITLE:=XOR blocks algorithm support 187 TITLE:=XOR blocks algorithm support
188 HIDDEN:=1 188 HIDDEN:=1
189 KCONFIG:=CONFIG_XOR_BLOCKS 189 KCONFIG:=CONFIG_XOR_BLOCKS
190 ifneq ($(wildcard $(LINUX_DIR)/arch/arm/lib/xor-neon.ko),) 190 ifneq ($(wildcard $(LINUX_DIR)/arch/arm/lib/xor-neon.ko),)
191 FILES:= \ 191 FILES:= \
192 $(LINUX_DIR)/crypto/xor.ko \ 192 $(LINUX_DIR)/crypto/xor.ko \
193 $(LINUX_DIR)/arch/arm/lib/xor-neon.ko 193 $(LINUX_DIR)/arch/arm/lib/xor-neon.ko
194 AUTOLOAD:=$(call AutoProbe,xor-neon xor) 194 AUTOLOAD:=$(call AutoProbe,xor-neon xor)
195 else 195 else
196 FILES:=$(LINUX_DIR)/crypto/xor.ko 196 FILES:=$(LINUX_DIR)/crypto/xor.ko
197 AUTOLOAD:=$(call AutoProbe,xor) 197 AUTOLOAD:=$(call AutoProbe,xor)
198 endif 198 endif
199 endef 199 endef
200   200  
201 define KernelPackage/lib-xor/description 201 define KernelPackage/lib-xor/description
202 Kernel module for XOR blocks algorithms 202 Kernel module for XOR blocks algorithms
203 endef 203 endef
204   204  
205 $(eval $(call KernelPackage,lib-xor)) 205 $(eval $(call KernelPackage,lib-xor))
206   206  
207   207  
208 define KernelPackage/lib-textsearch 208 define KernelPackage/lib-textsearch
209 SUBMENU:=$(LIB_MENU) 209 SUBMENU:=$(LIB_MENU)
210 TITLE:=Textsearch support 210 TITLE:=Textsearch support
211 KCONFIG:= \ 211 KCONFIG:= \
212 CONFIG_TEXTSEARCH=y \ 212 CONFIG_TEXTSEARCH=y \
213 CONFIG_TEXTSEARCH_KMP \ 213 CONFIG_TEXTSEARCH_KMP \
214 CONFIG_TEXTSEARCH_BM \ 214 CONFIG_TEXTSEARCH_BM \
215 CONFIG_TEXTSEARCH_FSM 215 CONFIG_TEXTSEARCH_FSM
216 FILES:= \ 216 FILES:= \
217 $(LINUX_DIR)/lib/ts_kmp.ko \ 217 $(LINUX_DIR)/lib/ts_kmp.ko \
218 $(LINUX_DIR)/lib/ts_bm.ko \ 218 $(LINUX_DIR)/lib/ts_bm.ko \
219 $(LINUX_DIR)/lib/ts_fsm.ko 219 $(LINUX_DIR)/lib/ts_fsm.ko
220 AUTOLOAD:=$(call AutoProbe,ts_kmp ts_bm ts_fsm) 220 AUTOLOAD:=$(call AutoProbe,ts_kmp ts_bm ts_fsm)
221 endef 221 endef
222   222  
223 $(eval $(call KernelPackage,lib-textsearch)) 223 $(eval $(call KernelPackage,lib-textsearch))
224   224  
225   225  
226 define KernelPackage/lib-zlib-inflate 226 define KernelPackage/lib-zlib-inflate
227 SUBMENU:=$(LIB_MENU) 227 SUBMENU:=$(LIB_MENU)
228 TITLE:=Zlib support 228 TITLE:=Zlib support
229 HIDDEN:=1 229 HIDDEN:=1
230 KCONFIG:=CONFIG_ZLIB_INFLATE 230 KCONFIG:=CONFIG_ZLIB_INFLATE
231 FILES:=$(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko 231 FILES:=$(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
232 AUTOLOAD:=$(call AutoProbe,zlib_inflate) 232 AUTOLOAD:=$(call AutoProbe,zlib_inflate)
233 endef 233 endef
234   234  
235 $(eval $(call KernelPackage,lib-zlib-inflate)) 235 $(eval $(call KernelPackage,lib-zlib-inflate))
236   236  
237   237  
238 define KernelPackage/lib-zlib-deflate 238 define KernelPackage/lib-zlib-deflate
239 SUBMENU:=$(LIB_MENU) 239 SUBMENU:=$(LIB_MENU)
240 TITLE:=Zlib support 240 TITLE:=Zlib support
241 HIDDEN:=1 241 HIDDEN:=1
242 KCONFIG:=CONFIG_ZLIB_DEFLATE 242 KCONFIG:=CONFIG_ZLIB_DEFLATE
243 FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko 243 FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko
244 AUTOLOAD:=$(call AutoProbe,zlib_deflate) 244 AUTOLOAD:=$(call AutoProbe,zlib_deflate)
245 endef 245 endef
246   246  
247 $(eval $(call KernelPackage,lib-zlib-deflate)) 247 $(eval $(call KernelPackage,lib-zlib-deflate))
248   248  
249   249  
250 define KernelPackage/lib-cordic 250 define KernelPackage/lib-cordic
251 SUBMENU:=$(LIB_MENU) 251 SUBMENU:=$(LIB_MENU)
252 TITLE:=Cordic function support 252 TITLE:=Cordic function support
253 KCONFIG:=CONFIG_CORDIC 253 KCONFIG:=CONFIG_CORDIC
254 FILES:=$(LINUX_DIR)/lib/cordic.ko 254 FILES:=$(LINUX_DIR)/lib/cordic.ko
255 AUTOLOAD:=$(call AutoProbe,cordic) 255 AUTOLOAD:=$(call AutoProbe,cordic)
256 endef 256 endef
257   257  
258 define KernelPackage/lib-cordic/description 258 define KernelPackage/lib-cordic/description
259 Kernel module for Cordic function support 259 Kernel module for Cordic function support
260 endef 260 endef
261   261  
262 $(eval $(call KernelPackage,lib-cordic)) 262 $(eval $(call KernelPackage,lib-cordic))
263   -  
264   -  
265 define KernelPackage/asn1-decoder -  
266 SUBMENU:=$(LIB_MENU) -  
267 TITLE:=Simple ASN1 decoder -  
268 KCONFIG:= CONFIG_ASN1 -  
269 HIDDEN:=1 -  
270 FILES:=$(LINUX_DIR)/lib/asn1_decoder.ko -  
271 endef -  
272   -  
273 $(eval $(call KernelPackage,asn1-decoder)) -  
274   263