source: trunk/package/kernel/modules/lib.mk @ 31634

Last change on this file since 31634 was 31634, checked in by hauke, 5 years ago

kernel: remove kernel modules and references to kernels <= 2.6.36

OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

File size: 3.6 KB
Line 
1#
2# Copyright (C) 2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8LIB_MENU:=Libraries
9
10define KernelPackage/lib-crc-ccitt
11  SUBMENU:=$(LIB_MENU)
12  TITLE:=CRC-CCITT support
13  KCONFIG:=CONFIG_CRC_CCITT
14  FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
15  AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
16endef
17
18define KernelPackage/lib-crc-ccitt/description
19 Kernel module for CRC-CCITT support
20endef
21
22$(eval $(call KernelPackage,lib-crc-ccitt))
23
24
25define KernelPackage/lib-crc-itu-t
26  SUBMENU:=$(LIB_MENU)
27  TITLE:=CRC ITU-T V.41 support
28  KCONFIG:=CONFIG_CRC_ITU_T
29  FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
30  AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
31endef
32
33define KernelPackage/lib-crc-itu-t/description
34 Kernel module for CRC ITU-T V.41 support
35endef
36
37$(eval $(call KernelPackage,lib-crc-itu-t))
38
39
40define KernelPackage/lib-crc7
41  SUBMENU:=$(LIB_MENU)
42  TITLE:=CRC7 support
43  KCONFIG:=CONFIG_CRC7
44  FILES:=$(LINUX_DIR)/lib/crc7.ko
45  AUTOLOAD:=$(call AutoLoad,20,crc7)
46endef
47
48define KernelPackage/lib-crc7/description
49 Kernel module for CRC7 support
50endef
51
52$(eval $(call KernelPackage,lib-crc7))
53
54
55define KernelPackage/lib-crc8
56  SUBMENU:=$(LIB_MENU)
57  TITLE:=CRC8 support
58  DEPENDS:= @!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||LINUX_3_0)
59  KCONFIG:=CONFIG_CRC8
60  FILES:=$(LINUX_DIR)/lib/crc8.ko
61  AUTOLOAD:=$(call AutoLoad,20,crc8)
62endef
63
64define KernelPackage/lib-crc8/description
65 Kernel module for CRC8 support
66endef
67
68$(eval $(call KernelPackage,lib-crc8))
69
70
71define KernelPackage/lib-crc16
72  SUBMENU:=$(LIB_MENU)
73  TITLE:=CRC16 support
74  KCONFIG:=CONFIG_CRC16
75  FILES:=$(LINUX_DIR)/lib/crc16.ko
76  AUTOLOAD:=$(call AutoLoad,20,crc16,1)
77endef
78
79define KernelPackage/lib-crc16/description
80 Kernel module for CRC16 support
81endef
82
83$(eval $(call KernelPackage,lib-crc16))
84
85
86define KernelPackage/lib-crc32c
87  SUBMENU:=$(LIB_MENU)
88  TITLE:=CRC32 support
89  KCONFIG:=CONFIG_LIBCRC32C
90  DEPENDS:=+kmod-crypto-crc32c
91  FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
92  AUTOLOAD:=$(call AutoLoad,20,libcrc32c,1)
93endef
94
95define KernelPackage/lib-crc32c/description
96 Kernel module for CRC32 support
97endef
98
99$(eval $(call KernelPackage,lib-crc32c))
100
101
102define KernelPackage/lib-lzo
103  SUBMENU:=$(LIB_MENU)
104  TITLE:=LZO support
105  KCONFIG:= \
106        CONFIG_LZO_COMPRESS \
107        CONFIG_LZO_DECOMPRESS
108  FILES:= \
109        $(LINUX_DIR)/lib/lzo/lzo_compress.ko \
110        $(LINUX_DIR)/lib/lzo/lzo_decompress.ko
111  AUTOLOAD:=$(call AutoLoad,20, lzo_compress lzo_decompress,1)
112endef
113
114define KernelPackage/lib-lzo/description
115 Kernel module for LZO compression/decompression support
116endef
117
118$(eval $(call KernelPackage,lib-lzo))
119
120
121define KernelPackage/lib-textsearch
122SUBMENU:=$(LIB_MENU)
123  TITLE:=Textsearch support
124  KCONFIG:= \
125    CONFIG_TEXTSEARCH=y \
126    CONFIG_TEXTSEARCH_KMP \
127    CONFIG_TEXTSEARCH_BM \
128    CONFIG_TEXTSEARCH_FSM
129  FILES:= \
130    $(LINUX_DIR)/lib/ts_kmp.ko \
131    $(LINUX_DIR)/lib/ts_bm.ko \
132    $(LINUX_DIR)/lib/ts_fsm.ko
133  AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
134endef
135
136$(eval $(call KernelPackage,lib-textsearch))
137
138
139define KernelPackage/lib-zlib
140  SUBMENU:=$(LIB_MENU)
141  TITLE:=Zlib support
142  KCONFIG:=CONFIG_ZLIB_DEFLATE
143  FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko
144  AUTOLOAD:=$(call AutoLoad,08,zlib_deflate,1)
145endef
146
147$(eval $(call KernelPackage,lib-zlib))
148
149
150define KernelPackage/lib-cordic
151  SUBMENU:=$(LIB_MENU)
152  TITLE:=Cordic function support
153  DEPENDS:= @!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||LINUX_3_0)
154  KCONFIG:=CONFIG_CORDIC
155  FILES:=$(LINUX_DIR)/lib/cordic.ko
156  AUTOLOAD:=$(call AutoLoad,20,cordic)
157endef
158
159define KernelPackage/lib-cordic/description
160 Kernel module for Cordic function support
161endef
162
163$(eval $(call KernelPackage,lib-cordic))
Note: See TracBrowser for help on using the repository browser.