blob: d73e9a9e17b750056e33eca7773104d725162f17 (
plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
|
#
# backport Kconfig
#
# Some options are user-selectable ("BPAUTO_USERSEL_*")
#
# Most options, however, follow a few different schemes:
#
# A) An option that is selected by drivers ("select FOO") will be
# changed to "select BPAUTO_FOO" (if the option BPAUTO_FOO
# exists). The option BPAUTO_FOO then controls setting of the
# BPAUTO_BUILD_FOO option, which is a module, like this:
#
# config BPAUTO_BUILD_FOO
# tristate
# # or bool
#
# # not possible on kernel < X.Y, build will fail if any
# # drivers are allowed to build on kernels < X.Y
# depends on KERNEL_X_Y
#
# # don't build the backport code if FOO is in the kernel
# # already, but only if the kernel version is also >= X.Z;
# # this is an example of backporting where the version of
# # the FOO subsystem that we need is only available from
# # kernel version X.Z
# depends on !FOO || KERNEL_X_Z
#
# # build if driver needs it (it selects BPAUTO_FOO)
# default m if BPAUTO_FOO
#
# # or for build-testing (BPAUTO_USERSEL_BUILD_ALL is enabled)
# default m if BPAUTO_USERSEL_BUILD_ALL
#
# config BPAUTO_FOO
# bool
#
# This only works as-is if the kernel code is usable on any version,
# otherwise the "&& !FOO" part needs to be different.
#
#
# B) An option for code always present on some kernels (e.g. KFIFO).
# This simply depends on/sets the default based on the version:
#
# config BPAUTO_BUILD_KFIFO
# def_bool y
# depends on KERNEL_2_6_36
#
#
# C) similarly, a kconfig symbol for an option, e.g.
# BPAUTO_OPTION_SOME_FIX (no examples provided) check git log
#
#
# Variations are obviously possible.
#
config BP_MODULES
option modules
bool
default MODULES
help
This symbol is necessary for the newer kconf tool, it looks
for the "option modules" to control the 'm' state.
config BPAUTO_BUILD_CORDIC
tristate
depends on !CORDIC
depends on KERNEL_3_1
default m if BPAUTO_CORDIC
default m if BPAUTO_USERSEL_BUILD_ALL
#module-name cordic
#c-file lib/cordic.c
config BPAUTO_CORDIC
bool
config BPAUTO_MII
bool
config BPAUTO_BUILD_LEDS
bool
depends on !NEW_LEDS || LEDS_CLASS=n || !LEDS_TRIGGERS
default y if BPAUTO_NEW_LEDS
default y if BPAUTO_LEDS_CLASS
default y if BPAUTO_LEDS_TRIGGERS
config BPAUTO_NEW_LEDS
bool
config BPAUTO_LEDS_CLASS
bool
config BPAUTO_LEDS_TRIGGERS
bool
config BPAUTO_USERSEL_BUILD_ALL
bool "Build all compat code"
help
This option selects all the compat code options
that would otherwise only be selected by drivers.
It's only really useful for compat testing, so
you probably shouldn't enable it.
config BPAUTO_CRYPTO_SKCIPHER
tristate
depends on KERNEL_4_3
default y if BACKPORTED_LIB80211_CRYPT_WEP
default y if BACKPORTED_LIB80211_CRYPT_TKIP
default y if BACKPORTED_BT
#c-file crypto/skcipher.c
#module-name skcipher
config BPAUTO_WANT_DEV_COREDUMP
bool
config BPAUTO_BUILD_WANT_DEV_COREDUMP
bool
default n if DEV_COREDUMP
default n if DISABLE_DEV_COREDUMP
default y if BPAUTO_WANT_DEV_COREDUMP
#h-file linux/devcoredump.h
#c-file drivers/base/devcoredump.c
config BPAUTO_RHASHTABLE
bool
# current API of rhashtable was introduced in version 4.9
# (the one including rhltable)
depends on KERNEL_4_9
# not very nice - but better than always having it
default y if BACKPORTED_MAC80211
#h-file linux/rhashtable.h
#c-file lib/rhashtable.c
config BPAUTO_BUCKET_LOCKS
bool
# the API of bucket_locks that we need was introduced in version 4.16
depends on KERNEL_4_16
default y if BPAUTO_RHASHTABLE
#c-file lib/bucket_locks.c
config BPAUTO_BUILD_HDMI
bool
# the hdmi driver got some new apis like hdmi_infoframe_unpack() in
# kernel 4.0 which are used by some drivers
depends on KERNEL_4_0
#h-file linux/hdmi.h
#c-file drivers/video/hdmi.c
config BPAUTO_HDMI
bool
select BPAUTO_BUILD_HDMI if KERNEL_4_0
# these drivers are using the new features of the hdmi driver.
default y if BACKPORTED_VIDEO_ADV7511
default y if BACKPORTED_VIDEO_ADV7604
default y if BACKPORTED_VIDEO_ADV7842
config BPAUTO_FRAME_VECTOR
bool
config BPAUTO_BUILD_FRAME_VECTOR
bool
default n if FRAME_VECTOR
default y if BPAUTO_FRAME_VECTOR
#c-file mm/frame_vector.c
config BPAUTO_REFCOUNT
bool
default y
depends on KERNEL_4_11
#h-file linux/refcount.h
#c-file lib/refcount.c
config BPAUTO_SYSTEM_DATA_VERIFICATION
bool
config BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION
bool
default y if BPAUTO_SYSTEM_DATA_VERIFICATION
depends on KERNEL_4_7 || !SYSTEM_DATA_VERIFICATION
select BPAUTO_ASN1_DECODER
select BPAUTO_PUBLIC_KEY
select BPAUTO_PKCS7
#h-file linux/oid_registry.h
#c-file lib/oid_registry.c
config BPAUTO_PUBLIC_KEY
bool
#h-file crypto/public_key.h
config BPAUTO_ASN1_DECODER
bool
#h-file linux/asn1_decoder.h
#c-file lib/asn1_decoder.c
config BPAUTO_PKCS7
bool
#h-file crypto/pkcs7.h
|