source: trunk/Config.in @ 8763

Letzte Änderung dieser Datei seit 8763 war 8763, erstellt von cuma vor 5 Jahren

bump 7390: 84.05.20 (refs #1733) *wip*

Dateigröße: 73.9 KB
Zeile 
1mainmenu "Freetz Configuration"
2
3config FREETZ_HAVE_DOT_CONFIG
4    bool
5    default y
6
7comment "General --------------------------------"
8
9config FREETZ_AVM_VERSION_04_30
10    bool
11config FREETZ_AVM_VERSION_04_33
12    bool
13config FREETZ_AVM_VERSION_04_40
14    bool
15config FREETZ_AVM_VERSION_04_49
16    bool
17config FREETZ_AVM_VERSION_04_57
18    bool
19config FREETZ_AVM_VERSION_04_67
20    bool
21config FREETZ_AVM_VERSION_04_70
22    bool
23config FREETZ_AVM_VERSION_04_76
24    bool
25config FREETZ_AVM_VERSION_04_80
26    bool
27config FREETZ_AVM_VERSION_04_87
28    bool
29config FREETZ_AVM_VERSION_3370_05_08
30    bool
31config FREETZ_AVM_VERSION_7270_04_86
32    bool
33config FREETZ_AVM_VERSION_7270_05_05
34    bool
35config FREETZ_AVM_VERSION_7320_04_86
36    bool
37config FREETZ_AVM_VERSION_7330_05_06
38    bool
39config FREETZ_AVM_VERSION_7360_05_08
40    bool
41config FREETZ_AVM_VERSION_7390_05_05
42    bool
43config FREETZ_AVM_VERSION_r7203
44    bool
45
46choice
47    prompt "Hardware type"
48        default FREETZ_TYPE_FON_WLAN_7270_V2
49        help
50            Select your box type here.
51
52    config FREETZ_TYPE_300IP_AS_FON
53        select FREETZ_AVM_VERSION_04_49
54        bool "300IP as Fon"
55
56    config FREETZ_TYPE_2170
57        select FREETZ_AVM_VERSION_04_57
58        bool "2170"
59
60    config FREETZ_TYPE_6840
61        select FREETZ_AVM_VERSION_3370_05_08
62        bool "6840 LTE - EXPERIMENTAL"
63
64    config FREETZ_TYPE_FON
65        select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
66        select FREETZ_AVM_VERSION_04_49 if ! FREETZ_TYPE_LANG_DE
67        bool "Fon"
68
69    config FREETZ_TYPE_FON_5010
70        select FREETZ_AVM_VERSION_04_40
71        bool "Fon 5010"
72
73    config FREETZ_TYPE_FON_5050
74        select FREETZ_AVM_VERSION_04_30
75        bool "Fon 5050"
76
77    config FREETZ_TYPE_FON_5124
78        select FREETZ_AVM_VERSION_04_76
79        bool "Fon 5124"
80
81    config FREETZ_TYPE_FON_5140
82        select FREETZ_AVM_VERSION_04_67
83        bool "Fon 5140"
84
85    config FREETZ_TYPE_FON_WLAN
86        select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
87        select FREETZ_AVM_VERSION_04_49 if ! FREETZ_TYPE_LANG_DE
88        bool "Fon WLAN"
89
90    config FREETZ_TYPE_FON_WLAN_7050
91        select FREETZ_AVM_VERSION_04_33
92        bool "Fon WLAN 7050"
93
94    config FREETZ_TYPE_FON_WLAN_7112
95        select FREETZ_AVM_VERSION_04_87
96        bool "Fon WLAN 7112"
97
98    config FREETZ_TYPE_FON_WLAN_7113
99        select FREETZ_AVM_VERSION_04_80 if FREETZ_TYPE_LANG_EN
100        select FREETZ_AVM_VERSION_04_67 if FREETZ_TYPE_LANG_DE
101        bool "Fon WLAN 7113"
102
103    config FREETZ_TYPE_FON_WLAN_7140
104        select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
105        select FREETZ_AVM_VERSION_04_76 if FREETZ_TYPE_LANG_A_CH
106        select FREETZ_AVM_VERSION_04_67 if FREETZ_TYPE_LANG_EN
107        bool "Fon WLAN 7140"
108
109    config FREETZ_TYPE_FON_WLAN_7141
110        select FREETZ_AVM_VERSION_04_76
111        bool "Fon WLAN 7141"
112
113    config FREETZ_TYPE_FON_7150
114        select FREETZ_AVM_VERSION_04_70
115        bool "Fon 7150"
116
117    config FREETZ_TYPE_FON_WLAN_7170
118        select FREETZ_AVM_VERSION_04_76 if FREETZ_TYPE_LANG_A_CH
119        select FREETZ_AVM_VERSION_04_80 if FREETZ_TYPE_LANG_EN
120        select FREETZ_AVM_VERSION_04_87 if FREETZ_TYPE_LANG_DE
121        bool "Fon WLAN 7170"
122
123    config FREETZ_TYPE_FON_WLAN_7240
124        select FREETZ_AVM_VERSION_7270_05_05
125        bool "Fon WLAN 7240"
126
127    config FREETZ_TYPE_FON_WLAN_7270_V1
128        select FREETZ_TYPE_FON_WLAN_7270
129        bool "Fon WLAN 7270 v1"
130
131    config FREETZ_TYPE_FON_WLAN_7270_V2
132        select FREETZ_TYPE_FON_WLAN_7270
133        bool "Fon WLAN 7270 v2"
134
135    config FREETZ_TYPE_FON_WLAN_7270_V3
136        select FREETZ_TYPE_FON_WLAN_7270
137        bool "Fon WLAN 7270 v3"
138
139    config FREETZ_TYPE_FON_WLAN_7320
140        select FREETZ_AVM_VERSION_7320_04_86
141        bool "Fon WLAN 7320"
142
143    config FREETZ_TYPE_FON_WLAN_7330
144        select FREETZ_AVM_VERSION_7330_05_06
145        bool "Fon WLAN 7330"
146
147    config FREETZ_TYPE_FON_WLAN_7330_SL
148        bool "build firmware for 7330 SL"
149        depends on FREETZ_TYPE_FON_WLAN_7330
150
151    config FREETZ_TYPE_FON_WLAN_7340
152        select FREETZ_AVM_VERSION_7390_05_05
153        bool "Fon WLAN 7340"
154
155    config FREETZ_TYPE_FON_WLAN_7360
156        select FREETZ_AVM_VERSION_7360_05_08
157        bool "Fon WLAN 7360 (Only SL available)"
158        select FREETZ_TYPE_FON_WLAN_7360_SL
159
160    config FREETZ_TYPE_FON_WLAN_7360_SL
161        bool "Fon WLAN 7360 SL (Experimental)"
162        depends on FREETZ_TYPE_FON_WLAN_7360
163
164    config FREETZ_TYPE_FON_WLAN_7390
165        select FREETZ_AVM_VERSION_7390_05_05
166        bool "Fon WLAN 7390"
167
168    config FREETZ_TYPE_FON_WLAN_7570
169        select FREETZ_AVM_VERSION_7270_04_86
170        bool "Fon WLAN 7570 VDSL"
171
172    config FREETZ_TYPE_FON_WLAN_7570_IAD
173        bool "build firmware for Alice IAD 7570"
174        depends on FREETZ_TYPE_FON_WLAN_7570
175    comment "Hint: Use replace kernel to get max filesystem size"
176        depends on FREETZ_TYPE_FON_WLAN_7570_IAD
177
178    config FREETZ_TYPE_WLAN_3020
179        select FREETZ_AVM_VERSION_04_33
180        bool "WLAN 3020"
181
182    config FREETZ_TYPE_WLAN_3030
183        select FREETZ_AVM_VERSION_04_33
184        bool "WLAN 3030"
185
186    config FREETZ_TYPE_WLAN_3130
187        select FREETZ_AVM_VERSION_04_33
188        bool "WLAN 3130"
189
190    config FREETZ_TYPE_WLAN_3131
191        select FREETZ_AVM_VERSION_04_57
192        bool "WLAN 3131"
193
194    config FREETZ_TYPE_WLAN_3170
195        select FREETZ_AVM_VERSION_04_57
196        bool "WLAN 3170"
197
198    config FREETZ_TYPE_WLAN_3270
199        select FREETZ_AVM_VERSION_7270_05_05
200        bool "WLAN 3270 (v1 and v2 only)"
201
202    config FREETZ_TYPE_WLAN_3270_V3
203        select FREETZ_AVM_VERSION_7270_05_05
204        bool "WLAN 3270 (v3 only)"
205
206    config FREETZ_TYPE_WLAN_3370
207        select FREETZ_AVM_VERSION_3370_05_08
208        bool "WLAN 3370"
209
210    config FREETZ_TYPE_SPEEDPORT_W501V
211        select FREETZ_AVM_VERSION_r7203
212        bool "Speedport W501V"
213
214    config FREETZ_TYPE_CUSTOM
215        bool "Custom"
216        depends on FREETZ_SHOW_ADVANCED
217        select FREETZ_DL_OVERRIDE
218
219endchoice # "Hardware type" #
220
221config FREETZ_TYPE_FON_WLAN_7270
222    depends on \
223        FREETZ_TYPE_FON_WLAN_7270_V1 || \
224        FREETZ_TYPE_FON_WLAN_7270_V2 || \
225        FREETZ_TYPE_FON_WLAN_7270_V3
226    select FREETZ_AVM_VERSION_7270_04_86 if \
227        FREETZ_TYPE_FON_WLAN_7270_V1
228    select FREETZ_AVM_VERSION_7270_05_05 if \
229        (FREETZ_TYPE_FON_WLAN_7270_V2 || FREETZ_TYPE_FON_WLAN_7270_V3)
230    bool
231
232choice
233    prompt "Firmware language"
234        default FREETZ_TYPE_LANG_DE
235
236    config FREETZ_TYPE_LANG_DE
237        bool "de - deutsch"
238        depends on \
239            ! FREETZ_TYPE_FON_5010 && \
240            ! FREETZ_TYPE_FON_5124 && \
241            ! FREETZ_TYPE_FON_WLAN_7340 && \
242            ! FREETZ_TYPE_FON_WLAN_7570
243
244    config FREETZ_TYPE_LANG_A_CH
245        bool "a-ch - deutsch"
246        depends on \
247            FREETZ_TYPE_FON_5010 || \
248            FREETZ_TYPE_FON_WLAN_7140 || \
249            FREETZ_TYPE_FON_WLAN_7170 \
250
251    config FREETZ_TYPE_LANG_EN
252        bool "en - international"
253        depends on \
254            FREETZ_TYPE_FON || \
255            FREETZ_TYPE_300IP_AS_FON || \
256            FREETZ_TYPE_FON_5124 || \
257            FREETZ_TYPE_FON_WLAN || \
258            FREETZ_TYPE_FON_WLAN_7113 || \
259            FREETZ_TYPE_FON_WLAN_7140 || \
260            FREETZ_TYPE_FON_WLAN_7170 || \
261            FREETZ_TYPE_FON_WLAN_7270_V2 || \
262            FREETZ_TYPE_FON_WLAN_7270_V3 || \
263            FREETZ_TYPE_FON_WLAN_7340 || \
264            FREETZ_TYPE_FON_WLAN_7390 || \
265            FREETZ_TYPE_FON_WLAN_7570 \
266
267endchoice # "Firmware language" #
268
269config FREETZ_TYPE_LANGUAGE
270    string
271    default "de"        if FREETZ_TYPE_LANG_DE
272    default "a-ch"      if FREETZ_TYPE_LANG_A_CH
273    default "en"        if FREETZ_TYPE_LANG_EN
274
275config FREETZ_TYPE_LABOR
276    bool "Beta/Labor"
277    depends on \
278        FREETZ_TYPE_LANG_DE && \
279        ( \
280            FREETZ_TYPE_FON_WLAN_7320 || \
281            FREETZ_TYPE_FON_WLAN_7270_V2 || \
282            FREETZ_TYPE_FON_WLAN_7270_V3 \
283        )
284    default n
285    help
286        Enable this to compile the mod based on an AVM "beta/labor" firmware.
287
288choice
289    prompt "Labor version"
290        depends on FREETZ_TYPE_LABOR
291        default FREETZ_TYPE_LABOR_PREVIEW
292
293    config FREETZ_TYPE_LABOR_PREVIEW
294        bool "Preview"
295        depends on \
296            FREETZ_TYPE_FON_WLAN_7320 || \
297            FREETZ_TYPE_FON_WLAN_7270_V2 || \
298            FREETZ_TYPE_FON_WLAN_7270_V3
299        help
300            Labor Preview
301
302endchoice # "Labor version" #
303
304config FREETZ_TYPE_ALIEN_HARDWARE
305    bool "Compile image for \"alien\" hardware"
306    depends on \
307        FREETZ_TYPE_FON_WLAN_7170 || \
308        FREETZ_TYPE_FON_WLAN_7270 || \
309        FREETZ_TYPE_FON_WLAN_7330 || \
310        FREETZ_TYPE_FON_WLAN_7570
311    default n
312    help
313        Enable this to compile the mod image for another hardware type
314
315choice
316    prompt "Alien hardware type"
317    depends on FREETZ_TYPE_ALIEN_HARDWARE
318#   default FREETZ_TYPE_SINUS_W500V_7150 if FREETZ_TYPE_FON_7150
319    default FREETZ_TYPE_SPEEDPORT_W701V_7170 if FREETZ_TYPE_FON_WLAN_7170
320    default FREETZ_TYPE_7240_7270 if FREETZ_TYPE_FON_WLAN_7270_V2
321    default FREETZ_TYPE_72702_72701 if FREETZ_TYPE_FON_WLAN_7270_V1
322    default FREETZ_TYPE_7320_7330 if FREETZ_TYPE_FON_WLAN_7330
323
324#   config FREETZ_TYPE_SINUS_W500V_7150
325#       bool "Sinus W500V"
326#       depends on FREETZ_TYPE_FON_7150
327#       select FREETZ_MODULE_jffs2 if ! FREETZ_REMOVE_JFFS2
328#       help
329#           Enable this to compile a mod image for T-Com Sinus W500V based
330#           on a 7150 image.
331
332    config FREETZ_TYPE_SPEEDPORT_W701V_7170
333        bool "W701V"
334        depends on FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
335        select FREETZ_REMOVE_FTPD
336        select FREETZ_REMOVE_MEDIASRV
337        select FREETZ_REMOVE_PRINTSERV
338        select FREETZ_REMOVE_PRINTSERV_MODULE if ! FREETZ_MODULE_usblp
339        select FREETZ_REMOVE_SMBD
340        help
341            Enable this to compile a mod image for T-Com Speedport W701V based
342            on a 7170 image.
343
344    config FREETZ_TYPE_SPEEDPORT_W900V_7170
345        bool "W900V"
346        depends on FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
347        help
348            Enable this to compile a mod image for T-Com Speedport W900V based
349            on a 7170 image.
350
351    config FREETZ_TYPE_SPEEDPORT_W920V_7570
352        bool "W920V"
353        depends on FREETZ_TYPE_FON_WLAN_7570
354        help
355            Enable this to compile a mod image for T-Com Speedport W920V based
356            on a 7570 image.
357
358    config FREETZ_TYPE_3170_7170
359        bool "3170"
360        depends on FREETZ_TYPE_FON_WLAN_7170
361        select FREETZ_REMOVE_VOIPD
362        select FREETZ_REMOVE_VOIP_ISDN
363        select FREETZ_REMOVE_CAPIOVERTCP
364        help
365            Enable this to compile a mod image for FritzBox FON WLAN 3170 based
366            on a 7170 image.
367
368    config FREETZ_TYPE_7112_7170
369        bool "7112"
370        depends on FREETZ_TYPE_FON_WLAN_7170
371        select FREETZ_REMOVE_FTPD
372        select FREETZ_REMOVE_MEDIASRV
373        select FREETZ_REMOVE_PRINTSERV
374        select FREETZ_REMOVE_PRINTSERV_MODULE if ! FREETZ_MODULE_usblp
375        select FREETZ_REMOVE_SMBD
376        help
377            Enable this to compile a mod image for FritzBox Fon WLAN 7112 based
378            on a 7170 image.
379
380    config FREETZ_TYPE_7113_7170
381        bool "7113"
382        depends on FREETZ_TYPE_FON_WLAN_7170
383        select FREETZ_REMOVE_FTPD
384        select FREETZ_REMOVE_MEDIASRV
385        select FREETZ_REMOVE_PRINTSERV
386        select FREETZ_REMOVE_PRINTSERV_MODULE if ! FREETZ_MODULE_usblp
387        select FREETZ_REMOVE_SMBD
388        help
389            Enable this to compile a mod image for FritzBox Fon WLAN 7113 based
390            on a 7170 image.
391
392    config FREETZ_TYPE_7140_7170
393        bool "7140"
394        depends on FREETZ_TYPE_FON_WLAN_7170
395        help
396            Enable this to compile a mod image for FritzBox FON WLAN 7140 based
397            on a 7170 image.
398
399    config FREETZ_TYPE_7141_7170
400        bool "7141"
401        depends on FREETZ_TYPE_FON_WLAN_7170
402        help
403            Enable this to compile a mod image for FritzBox FON WLAN 7141 based
404            on a 7170 image.
405
406    config FREETZ_TYPE_7240_7270
407        bool "7240"
408        depends on FREETZ_TYPE_FON_WLAN_7270_V2 || FREETZ_TYPE_FON_WLAN_7270_V3
409        help
410            Enable this to compile a mod image for FritzBox FON WLAN 7240 based
411            on a 7270 image.
412
413    config FREETZ_TYPE_7270_7270
414        bool "7270 v1"
415        depends on FREETZ_TYPE_FON_WLAN_7270_V2
416#       select FREETZ_REPLACE_KERNEL        # not necessary (#1665)
417#       select FREETZ_REMOVE_AVM_VPN
418#       select FREETZ_REMOVE_CAPIOVERTCP
419#       select FREETZ_REMOVE_NTFS
420#       select FREETZ_REMOVE_SMBD
421#       select FREETZ_REMOVE_UMTSD
422#       select FREETZ_REMOVE_VOIPD
423#       select FREETZ_REMOVE_VOIP_ISDN
424#       select FREETZ_REMOVE_WEBDAV
425        help
426            Enable this to compile a mod image for FritzBox FON WLAN 7270 v1 based
427            on a 7270 v2 image.
428
429            Caution: To fit into 8MB ROM some AVM components (e.g. telephony) have
430            to be removed. Please use usbroot for a full featured image.
431
432    config FREETZ_TYPE_72702_72701
433        bool "7270 v2"
434        depends on FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_REPLACE_KERNEL_AVAILABLE
435        help
436            Enable this to compile a mod image for FritzBox FON WLAN 7270 v2 based
437            on a 7270 v1 image.
438
439    config FREETZ_TYPE_7320_7330
440        bool "7320"
441        depends on FREETZ_TYPE_FON_WLAN_7330
442        help
443            Enable this to compile an alien image for FritzBox FON WLAN 7320 based
444            on a 7320 image.
445
446    config FREETZ_TYPE_IAD_3331_7170
447        bool "Alice IAD 3331"
448        depends on FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
449        select FREETZ_REMOVE_PIGLET_V1 if FREETZ_SHOW_ADVANCED
450        select FREETZ_ENFORCE_URLADER_SETTINGS
451        help
452            Enable this to compile a mod image for Alice IAD 3331 based
453            on a 7170 image.
454            The firmware_version has to be enforced, because this variable is unset
455            in the 7170_HN bootloader.
456            Initial flashing might only be possible via ./tools/push_firmware
457
458endchoice # "Alien hardware type" #
459
460config FREETZ_AVM_VERSION_STRING
461    string
462    default "04.30"         if FREETZ_AVM_VERSION_04_30
463    default "04.33"         if FREETZ_AVM_VERSION_04_33
464    default "04.40"         if FREETZ_AVM_VERSION_04_40
465    default "04.49"         if FREETZ_AVM_VERSION_04_49
466    default "04.57"         if FREETZ_AVM_VERSION_04_57
467    default "04.67"         if FREETZ_AVM_VERSION_04_67
468    default "04.70"         if FREETZ_AVM_VERSION_04_70
469    default "04.76"         if FREETZ_AVM_VERSION_04_76
470    default "04.80"         if FREETZ_AVM_VERSION_04_80
471    default "04.87"         if FREETZ_AVM_VERSION_04_87
472    default "3370_05.08"    if FREETZ_AVM_VERSION_3370_05_08
473    default "7270_04.86"    if FREETZ_AVM_VERSION_7270_04_86
474    default "7270_05.05"    if FREETZ_AVM_VERSION_7270_05_05
475    default "7320_04.86"    if FREETZ_AVM_VERSION_7320_04_86
476    default "7330_05.06"    if FREETZ_AVM_VERSION_7330_05_06
477    default "7360_05.08"    if FREETZ_AVM_VERSION_7360_05_08
478    default "7390_05.05"    if FREETZ_AVM_VERSION_7390_05_05
479    default "r7203"         if FREETZ_AVM_VERSION_r7203
480
481config FREETZ_FILESYSTEM_MTD_SIZE
482    int "FILESYSTEM (64K blocks)"   if FREETZ_TYPE_CUSTOM
483    default 768         if \
484        FREETZ_TYPE_6840 || \
485        FREETZ_TYPE_WLAN_3370
486    default 0
487    help
488        Number of 64K blocks in the filesystem mtd device.
489
490choice
491    prompt "Annex"
492        depends on FREETZ_TYPE_LANG_EN && \
493            ! FREETZ_TYPE_FON_WLAN_7113 && \
494            ! FREETZ_TYPE_FON_WLAN_7270 && \
495            ! FREETZ_TYPE_FON_WLAN_7340 && \
496            ! FREETZ_TYPE_FON_WLAN_7390 && \
497            ! FREETZ_TYPE_FON_WLAN_7570
498        default FREETZ_TYPE_ANNEX_B
499
500    config FREETZ_TYPE_ANNEX_A
501        bool "A"
502
503    config FREETZ_TYPE_ANNEX_B
504        bool "B"
505
506endchoice # prompt "Annex" #
507
508config FREETZ_TYPE_PREFIX
509    string
510    default "300ip_as_fon"      if FREETZ_TYPE_300IP_AS_FON
511    default "2170"              if FREETZ_TYPE_2170
512    default "3020"              if FREETZ_TYPE_WLAN_3020
513    default "3030"              if FREETZ_TYPE_WLAN_3030
514    default "3130"              if FREETZ_TYPE_WLAN_3130
515    default "3131"              if FREETZ_TYPE_WLAN_3131
516    default "3170"              if FREETZ_TYPE_WLAN_3170
517    default "3270"              if FREETZ_TYPE_WLAN_3270
518    default "3270_v3"           if FREETZ_TYPE_WLAN_3270_V3
519    default "3370"              if FREETZ_TYPE_WLAN_3370
520    default "fon"               if FREETZ_TYPE_FON
521    default "5010"              if FREETZ_TYPE_FON_5010
522    default "5050"              if FREETZ_TYPE_FON_5050
523    default "5124"              if FREETZ_TYPE_FON_5124
524    default "5140"              if FREETZ_TYPE_FON_5140
525    default "fon_wlan"          if FREETZ_TYPE_FON_WLAN
526    default "6840"              if FREETZ_TYPE_6840
527    default "7050"              if FREETZ_TYPE_FON_WLAN_7050
528    default "7112"              if FREETZ_TYPE_FON_WLAN_7112
529    default "7113"              if FREETZ_TYPE_FON_WLAN_7113
530    default "7140"              if FREETZ_TYPE_FON_WLAN_7140
531    default "7141"              if FREETZ_TYPE_FON_WLAN_7141
532    default "7150"              if FREETZ_TYPE_FON_7150
533    default "7170"              if FREETZ_TYPE_FON_WLAN_7170
534    default "7240"              if FREETZ_TYPE_FON_WLAN_7240
535    default "7270_v1"           if FREETZ_TYPE_FON_WLAN_7270_V1
536    default "7270_v2"           if ((FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7270_7270) && ! FREETZ_TYPE_LABOR
537    default "7270_v2_preview"   if ((FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7270_7270) && FREETZ_TYPE_LABOR_PREVIEW
538    default "7270_v3"           if ((FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7240_7270) && ! FREETZ_TYPE_LABOR
539    default "7270_v3_preview"   if ((FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7240_7270) && FREETZ_TYPE_LABOR_PREVIEW
540    default "7320"              if FREETZ_TYPE_FON_WLAN_7320 && ! FREETZ_TYPE_LABOR
541    default "7320_preview"      if FREETZ_TYPE_FON_WLAN_7320 && FREETZ_TYPE_LABOR_PREVIEW
542    default "7330"              if FREETZ_TYPE_FON_WLAN_7330 && ! FREETZ_TYPE_FON_WLAN_7330_SL
543    default "7330_SL"           if FREETZ_TYPE_FON_WLAN_7330_SL
544    default "7340"              if FREETZ_TYPE_FON_WLAN_7340
545#   default "7360"              if FREETZ_TYPE_FON_WLAN_7360 && ! FREETZ_TYPE_FON_WLAN_7360_SL
546    default "7360_SL"           if FREETZ_TYPE_FON_WLAN_7360_SL
547    default "7390"              if FREETZ_TYPE_FON_WLAN_7390
548    default "7570"              if FREETZ_TYPE_FON_WLAN_7570
549    default "W501V"             if FREETZ_TYPE_SPEEDPORT_W501V
550    default "custom"            if FREETZ_TYPE_CUSTOM
551
552config FREETZ_TYPE_PREFIX_ALIEN_HARDWARE
553    string
554    default "W500V_"            if FREETZ_TYPE_SINUS_W500V_7150
555    default "W701V_"            if FREETZ_TYPE_SPEEDPORT_W701V_7170
556    default "W900V_"            if FREETZ_TYPE_SPEEDPORT_W900V_7170
557    default "W920V_"            if FREETZ_TYPE_SPEEDPORT_W920V_7570
558    default "3170_"             if FREETZ_TYPE_3170_7170
559    default "7112_"             if FREETZ_TYPE_7112_7170
560    default "7113_"             if FREETZ_TYPE_7113_7170
561    default "7140_"             if FREETZ_TYPE_7140_7170
562    default "7141_"             if FREETZ_TYPE_7141_7170
563    default "7240_"             if FREETZ_TYPE_7240_7270
564    default "7270v1_"           if FREETZ_TYPE_7270_7270
565    default "7270v2_"           if FREETZ_TYPE_72702_72701
566    default "7320_"             if FREETZ_TYPE_7320_7330
567
568comment "Custom options -------------------------"
569    depends on FREETZ_TYPE_CUSTOM
570
571config FREETZ_INSTALL_BASE
572    bool
573    select FREETZ_PACKAGE_MOD
574    select FREETZ_PACKAGE_HASERL
575    select FREETZ_LIB_ld_uClibc
576    select FREETZ_LIB_libcrypt
577    select FREETZ_LIB_libdl
578    select FREETZ_LIB_libgcc_s
579    select FREETZ_LIB_libm
580    select FREETZ_LIB_libnsl
581    select FREETZ_LIB_libpthread
582    select FREETZ_LIB_librt
583    select FREETZ_LIB_libuClibc
584    select FREETZ_LIB_libctlmgr if FREETZ_HAS_AVM_USB_HOST
585    default y
586    help
587        This is mandatory
588
589config FREETZ_REPLACE_BUSYBOX
590    bool
591    select FREETZ_BUSYBOX_REALPATH
592    select FREETZ_BUSYBOX_STUN_IP
593    default y
594    help
595        This is mandatory
596
597config FREETZ_SHOW_ADVANCED
598    bool "Show advanced options"
599    default n
600    help
601        Show advanced Options for patching the firmware. This is only useful
602        for experienced users who really know what they are doing
603
604if FREETZ_SHOW_ADVANCED
605
606comment "Replace kernel (currently not available)"
607    depends on ! FREETZ_REPLACE_KERNEL_AVAILABLE
608
609config FREETZ_REPLACE_KERNEL_AVAILABLE
610    bool
611    depends on \
612        ! (FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN) && \
613        ! FREETZ_TYPE_LABOR
614    default y
615
616config FREETZ_REPLACE_KERNEL
617    bool "Replace kernel"
618    depends on FREETZ_REPLACE_KERNEL_AVAILABLE
619    select FREETZ_MODULE_fuse if \
620        ( \
621            FREETZ_AVM_VERSION_3370_05_08 || \
622            FREETZ_AVM_VERSION_7270_04_86 || \
623            FREETZ_AVM_VERSION_7270_05_05 || \
624            FREETZ_AVM_VERSION_7320_04_86 || \
625            FREETZ_AVM_VERSION_7330_05_06 || \
626            FREETZ_AVM_VERSION_7360_05_08 || \
627            FREETZ_AVM_VERSION_7390_05_05 \
628        ) && \
629        ! (FREETZ_REMOVE_NTFS && FREETZ_REMOVE_WEBDAV)
630    select FREETZ_MODULE_jffs2 if \
631        ! FREETZ_REMOVE_JFFS2 && \
632        ( \
633            FREETZ_AVM_VERSION_7320_04_86 || \
634            FREETZ_AVM_VERSION_7330_05_06 || \
635            FREETZ_AVM_VERSION_7360_05_08 \
636        )
637    select FREETZ_MODULE_msdos if FREETZ_AVM_VERSION_7270_05_05
638    select FREETZ_MODULE_usbcore if \
639        FREETZ_KERNEL_LAYOUT_UR8 && FREETZ_AVM_VERSION_7270_04_86
640    select FREETZ_MODULE_vfat if FREETZ_AVM_VERSION_7270_05_05
641    default n
642    help
643        Replace AVM kernel with self-built kernel.
644
645endif # FREETZ_SHOW_ADVANCED #
646
647comment "Hint: Select build toolchain if you want to enable IPv6 support"
648    depends on \
649        ( \
650            FREETZ_HAS_AVM_IPV6 || \
651            (FREETZ_SHOW_ADVANCED && FREETZ_REPLACE_KERNEL_AVAILABLE) \
652        ) && \
653        (FREETZ_TARGET_UCLIBC_VERSION_0_9_28 && FREETZ_DOWNLOAD_TOOLCHAIN)
654
655config FREETZ_TARGET_IPV6_SUPPORT
656    bool "Enable IPv6 support"
657    depends on \
658        ( \
659            FREETZ_HAS_AVM_IPV6 || \
660            (FREETZ_SHOW_ADVANCED && FREETZ_REPLACE_KERNEL_AVAILABLE) \
661        ) && \
662        ! (FREETZ_TARGET_UCLIBC_VERSION_0_9_28 && FREETZ_DOWNLOAD_TOOLCHAIN)
663    select FREETZ_REPLACE_KERNEL if ! (FREETZ_HAS_AVM_IPV6)
664    select FREETZ_MODULE_ipv6    if ! (FREETZ_HAS_AVM_IPV6) && FREETZ_REPLACE_KERNEL
665    select FREETZ_BUSYBOX_IP
666    select FREETZ_BUSYBOX_FEATURE_IP_ADDRESS
667    select FREETZ_BUSYBOX_FEATURE_IP_LINK
668    select FREETZ_BUSYBOX_FEATURE_IP_ROUTE
669    select FREETZ_BUSYBOX_FEATURE_IP_TUNNEL
670    default n
671    help
672        Copies the ipv6 kernel module to the firmware and enables ipv6 support
673        in uClibc and busybox.
674        Shows additional options for busybox and iptables and other packages.
675        To use IPv6 with Fritz!Box, at least the kernel, ucLibc and busybox
676        have to be recompiled with IPv6 enabled.
677        The toolchain will automatically be rebuild to achieve this.
678        It is also recommended to include the package iptables/ip6tables for
679        firewall settings.
680
681config FREETZ_TARGET_REF_4MB
682    bool
683    default y           if \
684        FREETZ_TYPE_2170 || \
685        FREETZ_TYPE_300IP_AS_FON || \
686        FREETZ_TYPE_FON || \
687        FREETZ_TYPE_FON_5010 || \
688        FREETZ_TYPE_FON_5050 || \
689        FREETZ_TYPE_FON_5140 || \
690        FREETZ_TYPE_FON_WLAN || \
691        FREETZ_TYPE_FON_WLAN_7050 || \
692        FREETZ_TYPE_SPEEDPORT_W501V || \
693        FREETZ_TYPE_WLAN_3020 || \
694        FREETZ_TYPE_WLAN_3030 || \
695        FREETZ_TYPE_WLAN_3130 || \
696        FREETZ_TYPE_WLAN_3131 || \
697        FREETZ_TYPE_WLAN_3170
698
699config FREETZ_TARGET_REF_8MB
700    bool
701    default y           if \
702        FREETZ_TYPE_FON_5124 || \
703        FREETZ_TYPE_FON_WLAN_7112 || \
704        FREETZ_TYPE_FON_WLAN_7113 || \
705        FREETZ_TYPE_FON_WLAN_7141 || \
706        FREETZ_TYPE_FON_WLAN_7140 || \
707        FREETZ_TYPE_FON_7150 || \
708        FREETZ_TYPE_FON_WLAN_7170 || \
709        ( FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_72702_72701 )
710
711config FREETZ_TARGET_REF_16MB
712    bool
713    default y           if \
714        FREETZ_TYPE_FON_WLAN_7240 || \
715        ( FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_TYPE_72702_72701 ) || \
716        FREETZ_TYPE_FON_WLAN_7270_V2 || \
717        FREETZ_TYPE_FON_WLAN_7270_V3 || \
718        FREETZ_TYPE_FON_WLAN_7320 || \
719        FREETZ_TYPE_FON_WLAN_7330 || \
720        FREETZ_TYPE_FON_WLAN_7340 || \
721        FREETZ_TYPE_FON_WLAN_7360 || \
722        FREETZ_TYPE_FON_WLAN_7390 || \
723        FREETZ_TYPE_FON_WLAN_7570 || \
724        FREETZ_TYPE_WLAN_3270 || \
725        FREETZ_TYPE_WLAN_3270_V3
726
727config FREETZ_TARGET_REF_48MB
728    bool
729    default y           if \
730        FREETZ_TYPE_6840 || \
731        FREETZ_TYPE_WLAN_3370
732
733config FREETZ_TARGET_REF
734    string "Target ref"     if FREETZ_TYPE_CUSTOM
735    default "4mb"           if FREETZ_TARGET_REF_4MB
736    default "8mb"           if FREETZ_TARGET_REF_8MB
737    default "16mb"          if FREETZ_TARGET_REF_16MB
738    default "48mb"          if FREETZ_TARGET_REF_48MB
739
740config FREETZ_KERNEL_REF_4MB
741    bool
742    default y           if \
743        FREETZ_TYPE_2170 || \
744        FREETZ_TYPE_300IP_AS_FON || \
745        FREETZ_TYPE_6840 || \
746        FREETZ_TYPE_FON || \
747        FREETZ_TYPE_FON_5010 || \
748        FREETZ_TYPE_FON_5050 || \
749        FREETZ_TYPE_FON_5140 || \
750        FREETZ_TYPE_FON_WLAN || \
751        FREETZ_TYPE_FON_WLAN_7050 || \
752        FREETZ_TYPE_SPEEDPORT_W501V || \
753        FREETZ_TYPE_WLAN_3020 || \
754        FREETZ_TYPE_WLAN_3030 || \
755        FREETZ_TYPE_WLAN_3130 || \
756        FREETZ_TYPE_WLAN_3131 || \
757        FREETZ_TYPE_WLAN_3170 || \
758        FREETZ_TYPE_WLAN_3370
759
760config FREETZ_KERNEL_REF_8MB
761    bool
762    default y           if \
763        FREETZ_TYPE_FON_5124 || \
764        FREETZ_TYPE_FON_WLAN_7112 || \
765        FREETZ_TYPE_FON_WLAN_7113 || \
766        FREETZ_TYPE_FON_WLAN_7141 || \
767        FREETZ_TYPE_FON_WLAN_7140 || \
768        FREETZ_TYPE_FON_7150 || \
769        FREETZ_TYPE_FON_WLAN_7170 || \
770        (FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_72702_72701)
771
772config FREETZ_KERNEL_REF_16MB
773    bool
774    default y           if \
775        FREETZ_TYPE_FON_WLAN_7240 || \
776        (FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_TYPE_72702_72701) || \
777        FREETZ_TYPE_FON_WLAN_7270_V2 || \
778        FREETZ_TYPE_FON_WLAN_7270_V3 || \
779        FREETZ_TYPE_FON_WLAN_7320 || \
780        FREETZ_TYPE_FON_WLAN_7330 || \
781        FREETZ_TYPE_FON_WLAN_7340 || \
782        FREETZ_TYPE_FON_WLAN_7360 || \
783        FREETZ_TYPE_FON_WLAN_7390 || \
784        FREETZ_TYPE_FON_WLAN_7570 || \
785        FREETZ_TYPE_WLAN_3270 || \
786        FREETZ_TYPE_WLAN_3270_V3
787
788config FREETZ_KERNEL_REF
789    string "Kernel ref"     if FREETZ_TYPE_CUSTOM
790    default "4mb"           if FREETZ_KERNEL_REF_4MB
791    default "8mb"           if FREETZ_KERNEL_REF_8MB
792    default "16mb"          if FREETZ_KERNEL_REF_16MB
793
794config FREETZ_KERNEL_MTD_SIZE
795    int "Kernel (64K blocks)"   if FREETZ_TYPE_CUSTOM
796    default 64          if \
797        FREETZ_TYPE_6840 || \
798        FREETZ_TYPE_WLAN_3370
799    default 119         if \
800        FREETZ_TYPE_FON_5124 || \
801        FREETZ_TYPE_FON_7150 || \
802        FREETZ_TYPE_FON_WLAN_7112 || \
803        FREETZ_TYPE_FON_WLAN_7113 || \
804        FREETZ_TYPE_FON_WLAN_7140 || \
805        FREETZ_TYPE_FON_WLAN_7141 || \
806        (FREETZ_TYPE_FON_WLAN_7170 && ! FREETZ_TYPE_3170_7170) || \
807        (FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_72702_72701) || \
808        FREETZ_TYPE_7270_7270
809    default 122         if \
810        FREETZ_TYPE_FON_WLAN_7570_IAD && ! FREETZ_REPLACE_KERNEL
811    default 238             if \
812        FREETZ_TYPE_FON_WLAN_7340 || \
813        FREETZ_TYPE_FON_WLAN_7390
814    default 244         if \
815        FREETZ_TYPE_FON_WLAN_7570_IAD && FREETZ_REPLACE_KERNEL
816    default 246         if \
817        FREETZ_TYPE_FON_WLAN_7240 || \
818        (FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_TYPE_72702_72701) || \
819        FREETZ_TYPE_FON_WLAN_7270_V2 || \
820        FREETZ_TYPE_FON_WLAN_7270_V3 || \
821        FREETZ_TYPE_FON_WLAN_7320 || \
822        FREETZ_TYPE_FON_WLAN_7330 || \
823        FREETZ_TYPE_FON_WLAN_7360 || \
824        (FREETZ_TYPE_FON_WLAN_7570 && ! FREETZ_TYPE_FON_WLAN_7570_IAD) || \
825        FREETZ_TYPE_WLAN_3270 || \
826        FREETZ_TYPE_WLAN_3270_V3
827    default 59
828    help
829        Number of 64K blocks in the kernel mtd device.
830
831source Config.in.has_avm
832
833comment "Mod ------------------------------------"
834
835choice
836    prompt "Freetz Language"
837    default FREETZ_LANG_DE      if FREETZ_TYPE_LANG_DE
838    default FREETZ_LANG_DE      if FREETZ_TYPE_LANG_A_CH
839    default FREETZ_LANG_EN      if FREETZ_TYPE_LANG_EN
840
841    config FREETZ_LANG_DE
842        bool "de - deutsch"
843
844    config FREETZ_LANG_EN
845        bool "en - english"
846
847endchoice # "Freetz Language" #
848
849config FREETZ_LANG_STRING
850    string
851    default "de"            if FREETZ_LANG_DE
852    default "en"            if FREETZ_LANG_EN
853
854menu "Patches"
855
856source patches/Config.in
857
858endmenu # "Patches" #
859
860menu "Package selection"
861
862#config FREETZ_BUILD_DYNAMIC_PACKAGES
863#   bool "Build dynamic packages (NOT SUPPORTED YET)"
864#   default n
865#   help
866#       If this is selected, all packages, which are not
867#       selected, will be built as dynamic packages.
868
869source make/Config.in
870
871endmenu # "Package selection" #
872
873menu "Advanced options"
874
875config FREETZ_DL_OVERRIDE
876    bool "Override firmware source"
877    default n
878    help
879        Enable this to override automatically generated entries.
880
881config FREETZ_DL_KERNEL_SITE
882    string "Kernel site"                                    if FREETZ_DL_OVERRIDE
883    default "ftp://ftp.avm.de/develper/opensrc"             if \
884        FREETZ_AVM_VERSION_04_30 || \
885        FREETZ_AVM_VERSION_04_33 || \
886        FREETZ_AVM_VERSION_04_40 || \
887        FREETZ_AVM_VERSION_04_49 || \
888        FREETZ_AVM_VERSION_04_57 || \
889        FREETZ_AVM_VERSION_04_67 || \
890        FREETZ_AVM_VERSION_04_70
891    default "@AVM/fritzbox.fon_wlan_7170/x_misc/opensrc"    if FREETZ_AVM_VERSION_04_76
892    default "@AVM/fritzbox.fon_wlan_7170/x_misc/opensrc"    if FREETZ_AVM_VERSION_04_80
893    default "@AVM/fritzbox.fon_wlan_7170/x_misc/opensrc"    if FREETZ_AVM_VERSION_04_87
894    default "@AVM/fritzbox.fon_wlan_7270_v1/x_misc/opensrc" if FREETZ_AVM_VERSION_7270_04_86
895    default "@AVM/fritzbox.fon_wlan_7270_v3/x_misc/opensrc" if FREETZ_AVM_VERSION_7270_05_05
896    default "@AVM/fritzbox.fon_wlan_7320/x_misc/opensrc"    if FREETZ_AVM_VERSION_7320_04_86
897    default "@AVM/fritzbox.7330/x_misc/opensrc"             if FREETZ_AVM_VERSION_7330_05_06
898    default "@AVM/fritzbox.fon_wlan_7360_sl/x_misc/opensrc" if FREETZ_AVM_VERSION_7360_05_08
899    default "@AVM/fritzbox.fon_wlan_7390/x_misc/opensrc"    if FREETZ_AVM_VERSION_7390_05_05
900    default "@AVM/fritzbox.wlan_3370/x_misc/opensrc"        if FREETZ_AVM_VERSION_3370_05_08
901    default "@TELEKOM/Speedport/Speedport_W501V"            if FREETZ_AVM_VERSION_r7203
902
903config FREETZ_DL_KERNEL_SOURCE
904    string "Kernel source"                                      if FREETZ_DL_OVERRIDE
905    default "fritzbox7141-source-files-04.30.tar.bz2"           if FREETZ_AVM_VERSION_04_30
906    default "fritzbox-source-files-04.33.tar.bz2"               if FREETZ_AVM_VERSION_04_33
907    default "fritzbox-source-files.04.40.tar.bz2"               if FREETZ_AVM_VERSION_04_40
908    default "fritzbox-source-files-04.49.tar.gz"                if FREETZ_AVM_VERSION_04_49
909    default "fritzbox-source-files.04.57.tar.gz"                if FREETZ_AVM_VERSION_04_57
910    default "fritzbox-source-files.04.67.tar.gz"                if FREETZ_AVM_VERSION_04_67
911    default "fritzbox-source-files-04.70.tar.gz"                if FREETZ_AVM_VERSION_04_70
912    default "fritzbox7170-source-files-04.76.tar.gz"            if FREETZ_AVM_VERSION_04_76
913    default "fritzbox7170-source-files-04.80.tar.gz"            if FREETZ_AVM_VERSION_04_80
914    default "fritzbox7170-source-files-04.87.tar.gz"            if FREETZ_AVM_VERSION_04_87
915    default "fritzbox7270-source-files-04.86.tar.gz"            if FREETZ_AVM_VERSION_7270_04_86
916    default "fritzbox-source-files-05.05.tar.gz"                if FREETZ_AVM_VERSION_7270_05_05
917    default "fritzbox7320-source-files-04.86.tar.gz"            if FREETZ_AVM_VERSION_7320_04_86
918    default "fritz_box_fon_wlan_7330_source_files.05.06.tar.gz" if FREETZ_AVM_VERSION_7330_05_06
919    default "fritz_box_7360SL_source_files.05.08.tar.gz"        if FREETZ_AVM_VERSION_7360_05_08
920    default "fritz_box_fon_wlan_7390_source_files.05.05.tar.gz" if FREETZ_AVM_VERSION_7390_05_05
921    default "fritz_box_wlan_3370_source_files.05.08.tar.gz"     if FREETZ_AVM_VERSION_3370_05_08
922    default "GPL-r7203-4mb_26-tar.bz2"                          if FREETZ_AVM_VERSION_r7203
923
924config FREETZ_DL_KERNEL_SOURCE_MD5
925    string "MD5 checksum for downloaded Kernel source file" if FREETZ_DL_OVERRIDE
926    default "1a43eaf94b7989b8cf8e50b2e50c756c"  if FREETZ_AVM_VERSION_04_30
927    default "99b6a701f9cd09319086c8655fced242"  if FREETZ_AVM_VERSION_04_33
928    default "008ecd257e584fc5bbf5e276d4b03ff1"  if FREETZ_AVM_VERSION_04_40
929    default "e6889745b437bde0f5bdb5ada93c913d"  if FREETZ_AVM_VERSION_04_49
930    default "702f4adf12638bfa34a6b10c0ede4b55"  if FREETZ_AVM_VERSION_04_57
931    default "ec2c233bb836e822d9018fd41e123a91"  if FREETZ_AVM_VERSION_04_67
932    default "855d4ad80fc894d9dff52fcaf55d3c12"  if FREETZ_AVM_VERSION_04_70
933    default "4ffc088502c896c11931ba81536fa0e6"  if FREETZ_AVM_VERSION_04_76
934    default "6bf92b81b48a3a05efd3aae6c05fe3e2"  if FREETZ_AVM_VERSION_04_80
935    default "cad33bda041910e2aae01f027465162b"  if FREETZ_AVM_VERSION_04_87
936    default "55a11af7dcfd617c39e75877045ab468"  if FREETZ_AVM_VERSION_7270_04_86
937    default "19280ad861a7e88698d41211996c5ac6"  if FREETZ_AVM_VERSION_7270_05_05
938    default "0e2ddf32808eb329efc4b486c6de0011"  if FREETZ_AVM_VERSION_7320_04_86
939    default "baa047e62d316c765de1e2a4b051c11c"  if FREETZ_AVM_VERSION_7330_05_06
940    default "08f3255b811476861096286fc00ea548"  if FREETZ_AVM_VERSION_7360_05_08
941    default "fbf515bd77f3d3a64a3095889777cc13"  if FREETZ_AVM_VERSION_7390_05_05
942    default "8ba23637fa361367e0fd055893c9c0ec"  if FREETZ_AVM_VERSION_3370_05_08
943    default "582c74f0959a687c41c1bcfa599ace9c"  if FREETZ_AVM_VERSION_r7203
944
945config FREETZ_DL_SITE
946    string "Firmware site"                                          if FREETZ_DL_OVERRIDE
947    depends on ! FREETZ_TYPE_LABOR
948    default "@AVM/fritzbox.2170/firmware/deutsch"                   if FREETZ_TYPE_2170
949    default "@AVM/fritzbox.fon/firmware/deutsch"                    if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_DE
950    default "@AVM/fritzbox.fon/firmware/english/annex_a"            if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
951    default "@AVM/fritzbox.fon/firmware/english/annex_b"            if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
952    default "@AVM/fritzbox_6840_lte/firmware/deutsch"               if FREETZ_TYPE_6840
953    default "@AVM/fritzbox.fon_5010/firmware/deutsch_a-ch"          if FREETZ_TYPE_FON_5010
954    default "@AVM/fritzbox.fon_5050/firmware"                       if FREETZ_TYPE_FON_5050
955    default "@AVM/fritzbox.fon_5124/firmware/english/annex_a"       if FREETZ_TYPE_FON_5124 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
956    default "@AVM/fritzbox.fon_5124/firmware/english/annex_b"       if FREETZ_TYPE_FON_5124 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
957    default "@AVM/fritzbox.fon_5140/firmware"                       if FREETZ_TYPE_FON_5140
958    default "@AVM/fritzbox.fon_wlan/firmware/deutsch"               if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_DE
959    default "@AVM/fritzbox.fon_wlan/firmware/english/annex_a"       if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
960    default "@AVM/fritzbox.fon_wlan/firmware/english/annex_b"       if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
961    default "@AVM/fritzbox.fon_wlan_7050/firmware"                  if FREETZ_TYPE_FON_WLAN_7050
962    default "@AVM/fritzbox.fon_wlan_7112/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7112
963    default "@AVM/fritzbox.fon_wlan_7113/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7113 && FREETZ_TYPE_LANG_DE
964    default "@AVM/fritzbox.fon_wlan_7113/firmware/english/annex_a"  if FREETZ_TYPE_FON_WLAN_7113 && FREETZ_TYPE_LANG_EN
965    default "@AVM/fritzbox.fon_wlan_7140/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_DE
966    default "@AVM/fritzbox.fon_wlan_7140/firmware/deutsch_a-ch"     if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH
967    default "@AVM/fritzbox.fon_wlan_7140/firmware/english/annex_a"  if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
968    default "@AVM/fritzbox.fon_wlan_7140/firmware/english/annex_b"  if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
969    default "@AVM/fritzbox.fon_wlan_7141/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7141
970    default "@AVM/fritzfon.7150/firmware"                           if FREETZ_TYPE_FON_7150
971    default "@AVM/fritzbox.fon_wlan_7170/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
972    default "@AVM/fritzbox.fon_wlan_7170/firmware/deutsch_a-ch"     if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_A_CH
973    default "@AVM/fritzbox.fon_wlan_7170/firmware/english/annex_a"  if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
974    default "@AVM/fritzbox.fon_wlan_7170/firmware/english/annex_b"  if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
975    default "@AVM/fritzbox.fon_wlan_7240/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7240
976    default "@AVM/fritzbox.fon_wlan_7270_v1/firmware/deutsch"       if ((FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_72702_72701 ) && FREETZ_TYPE_LANG_DE
977    default "@AVM/fritzbox.fon_wlan_7270_v2/firmware/deutsch"       if ((FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7270_7270) && ! FREETZ_TYPE_LABOR && FREETZ_TYPE_LANG_DE
978    default "@AVM/fritzbox.fon_wlan_7270_v2/firmware/english"       if ((FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7270_7270) && FREETZ_TYPE_LANG_EN
979    default "@AVM/fritzbox.fon_wlan_7270_v3/firmware/deutsch"       if ((FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7240_7270) && ! FREETZ_TYPE_LABOR && FREETZ_TYPE_LANG_DE
980    default "@AVM/fritzbox.fon_wlan_7270_v3/firmware/english"       if ((FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7240_7270) && FREETZ_TYPE_LANG_EN
981    default "@AVM/fritzbox.fon_wlan_7320/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7320
982    default "@AVM/fritzbox.7330/firmware/deutsch"                   if FREETZ_TYPE_FON_WLAN_7330 && ! FREETZ_TYPE_FON_WLAN_7330_SL
983    default "@AVM/fritzbox.7330_sl/firmware/deutsch"                if FREETZ_TYPE_FON_WLAN_7330_SL
984    default "@AVM/fritzbox.fon_wlan_7340/firmware/english"          if FREETZ_TYPE_FON_WLAN_7340
985#   default "@AVM/fritzbox.fon_wlan_7360_sl/firmware/deutsch"       if FREETZ_TYPE_FON_WLAN_7360 && ! FREETZ_TYPE_FON_WLAN_7360_SL
986    default "@AVM/fritzbox.fon_wlan_7360_sl/firmware/deutsch"       if FREETZ_TYPE_FON_WLAN_7360_SL
987    default "@AVM/fritzbox.fon_wlan_7390/firmware/deutsch"          if FREETZ_TYPE_FON_WLAN_7390 && FREETZ_TYPE_LANG_DE
988    default "@AVM/fritzbox.fon_wlan_7390/firmware/english"          if FREETZ_TYPE_FON_WLAN_7390 && FREETZ_TYPE_LANG_EN
989    default "@AVM/fritzbox.fon_wlan_7570/firmware/english"          if FREETZ_TYPE_FON_WLAN_7570
990    default "@AVM/fritzbox.sl_wlan/firmware"                        if FREETZ_TYPE_WLAN_3020
991    default "@AVM/fritzbox.wlan_3030/firmware"                      if FREETZ_TYPE_WLAN_3030
992    default "@AVM/fritzbox.wlan_3130/firmware"                      if FREETZ_TYPE_WLAN_3130
993    default "@AVM/fritzbox.wlan_3131/firmware/deutsch"              if FREETZ_TYPE_WLAN_3131
994    default "@AVM/fritzbox.wlan_3170/firmware/deutsch"              if FREETZ_TYPE_WLAN_3170
995    default "@AVM/fritzbox.wlan_3270/firmware/deutsch"              if FREETZ_TYPE_WLAN_3270
996    default "@AVM/fritzbox.wlan_3270_v3/firmware/deutsch"           if FREETZ_TYPE_WLAN_3270_V3
997    default "@AVM/fritzbox.wlan_3370/firmware/deutsch"              if FREETZ_TYPE_WLAN_3370
998    default "@TELEKOM/Speedport/Speedport_W501V"                    if FREETZ_TYPE_SPEEDPORT_W501V
999    default "@AVM/..."                                              if FREETZ_TYPE_CUSTOM
1000
1001config FREETZ_DL_SOURCE
1002    string "Firmware source"                                                if FREETZ_DL_OVERRIDE
1003    default "FRITZ.Box_2170.51.04.57.image"                                 if FREETZ_TYPE_2170
1004    default "fritz.box_fon.06.04.33.image"                                  if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_DE
1005    default "fritz.box_fon.annexa.en.06.04.49.image"                        if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1006    default "fritz.box_fon.en.06.04.49.image"                               if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1007    default "FRITZ.Box_6840_LTE.105.05.09.image"                            if FREETZ_TYPE_6840
1008    default "fritz.box_fon_5010.annexa.48.04.43.image"                      if FREETZ_TYPE_FON_5010
1009    default "fritz.box_fon_5050.12.04.31.image"                             if FREETZ_TYPE_FON_5050
1010    default "FRITZ.Box_Fon_5124.AnnexA.en.57.04.76.image"                   if FREETZ_TYPE_FON_5124 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1011    default "FRITZ.Box_Fon_5124.AnnexB.en.56.04.76.image"                   if FREETZ_TYPE_FON_5124 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1012    default "FRITZ.Box_Fon_5140.AnnexB.43.04.67.image"                      if FREETZ_TYPE_FON_5140
1013    default "fritz.box_fon_wlan.08.04.34.image"                             if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_DE
1014    default "FRITZ.Box_Fon_WLAN.AnnexA.en.08.04.49.image"                   if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1015    default "FRITZ.Box_Fon_WLAN.AnnexB.en.08.04.49.image"                   if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1016    default "fritz.box_fon_wlan_7050.14.04.33.image"                        if FREETZ_TYPE_FON_WLAN_7050
1017    default "FRITZ.Box_Fon_WLAN_7112.87.04.87.image"                        if FREETZ_TYPE_FON_WLAN_7112
1018    default "FRITZ.Box_Fon_WLAN_7113.60.04.68.image"                        if FREETZ_TYPE_FON_WLAN_7113 && FREETZ_TYPE_LANG_DE
1019    default "FRITZ.Box_Fon_WLAN_7113.AnnexA.de-en-es-it-fr.90.04.84.image"  if FREETZ_TYPE_FON_WLAN_7113 && FREETZ_TYPE_LANG_EN
1020    default "fritz.box_fon_wlan_7140.annexb.30.04.33.image"                 if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_DE
1021    default "FRITZ.Box_Fon_WLAN_7140.AnnexA.39.04.76.image"                 if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH
1022    default "FRITZ.Box_Fon_WLAN_7140.AnnexA.en.39.04.67.image"              if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1023    default "FRITZ.Box_Fon_WLAN_7140.AnnexB.en.30.04.67.image"              if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1024    default "FRITZ.Box_Fon_WLAN_7141.40.04.76.image"                        if FREETZ_TYPE_FON_WLAN_7141
1025    default "fritz.fon_7150.annexb.38.04.71.image"                          if FREETZ_TYPE_FON_7150
1026    default "FRITZ.Box_Fon_WLAN_7170.29.04.87.image"                        if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
1027    default "FRITZ.Box_Fon_WLAN_7170.AnnexA.58.04.76.image"                 if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_A_CH
1028    default "FRITZ.Box_Fon_WLAN_7170.AnnexA.en.58.04.84.image"              if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1029    default "FRITZ.Box_Fon_WLAN_7170.AnnexB.en.29.04.82.image"              if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1030    default "FRITZ.Box_Fon_WLAN_7240.73.05.05.image"                        if FREETZ_TYPE_FON_WLAN_7240
1031    default "FRITZ.Box_Fon_WLAN_7270_v1.54.04.88.image"                     if FREETZ_TYPE_FON_WLAN_7270_V1
1032    default "FRITZ.Box_Fon_WLAN_7270_v2.54.05.05.image"                     if ((FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7270_7270) && ! FREETZ_TYPE_LABOR && FREETZ_TYPE_LANG_DE
1033    default "FRITZ.Box_Fon_WLAN_7270_v2_Labor.54.05.09-21824.image"         if FREETZ_TYPE_FON_WLAN_7270_V2 && FREETZ_TYPE_LABOR_PREVIEW
1034    default "FRITZ.Box_Fon_WLAN_7270_16.en-de-es-it-fr.54.05.06.image"      if ((FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7270_7270) && FREETZ_TYPE_LANG_EN
1035    default "FRITZ.Box_Fon_WLAN_7270_v3.74.05.05.image"                     if ((FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7240_7270) && ! FREETZ_TYPE_LABOR && FREETZ_TYPE_LANG_DE
1036    default "FRITZ.Box_Fon_WLAN_7270_v3.en-de-es-it-fr.74.05.06.image"      if ((FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE) || FREETZ_TYPE_7240_7270) && FREETZ_TYPE_LANG_EN
1037    default "FRITZ.Box_Fon_WLAN_7270_v3_Labor.74.05.09-21824.image"         if (FREETZ_TYPE_FON_WLAN_7270_V3 || (FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_ALIEN_HARDWARE)) && FREETZ_TYPE_LABOR_PREVIEW
1038    default "FRITZ.Box_Fon_WLAN_7320.100.04.89.image"                       if FREETZ_TYPE_FON_WLAN_7320 && ! FREETZ_TYPE_LABOR
1039    default "FRITZ.Box_Fon_WLAN_7320_Labor.100.05.09-21826.image"           if FREETZ_TYPE_FON_WLAN_7320 && FREETZ_TYPE_LABOR_PREVIEW
1040    default "FRITZ.Box_7330.107.05.08.image"                                if FREETZ_TYPE_FON_WLAN_7330 && ! FREETZ_TYPE_FON_WLAN_7330_SL
1041    default "FRITZ.Box_7330_SL.116.05.08.image"                             if FREETZ_TYPE_FON_WLAN_7330_SL
1042    default "FRITZ.Box_Fon_WLAN_7340.en-de-es-it-fr.99.05.05.image"         if FREETZ_TYPE_FON_WLAN_7340
1043#   default "FRITZ.Box_Fon_WLAN_7360.109.05.08.image"                       if FREETZ_TYPE_FON_WLAN_7360 && ! FREETZ_TYPE_FON_WLAN_7360_SL
1044    default "FRITZ.Box_Fon_WLAN_7360_SL.109.05.08.image"                    if FREETZ_TYPE_FON_WLAN_7360_SL
1045    default "FRITZ.Box_Fon_WLAN_7390.84.05.20.image"                        if FREETZ_TYPE_FON_WLAN_7390 && FREETZ_TYPE_LANG_DE
1046    default "FRITZ.Box_Fon_WLAN_7390.en-de-es-it-fr.84.05.06.image"         if FREETZ_TYPE_FON_WLAN_7390 && ! FREETZ_TYPE_LANG_DE
1047    default "FRITZ.Box_Fon_WLAN_7570_vDSL.en-de-fr.75.04.91.image"          if FREETZ_TYPE_FON_WLAN_7570
1048    default "fritz.box_sl_wlan.09.04.34.image"                              if FREETZ_TYPE_WLAN_3020
1049    default "fritz.box_wlan_3030.21.04.34.image"                            if FREETZ_TYPE_WLAN_3030
1050    default "fritz.box_wlan_3130.44.04.34.image"                            if FREETZ_TYPE_WLAN_3130
1051    default "fritz.box_wlan_3131.50.04.57.image"                            if FREETZ_TYPE_WLAN_3131
1052    default "fritz.box_wlan_3170.49.04.58.image"                            if FREETZ_TYPE_WLAN_3170
1053    default "fritz.box_wlan_3270.67.05.05.image"                            if FREETZ_TYPE_WLAN_3270
1054    default "fritz.box_wlan_3270_v3.96.05.05.image"                         if FREETZ_TYPE_WLAN_3270_V3
1055    default "fritz.box_wlan_3370.103.05.08.image"                           if FREETZ_TYPE_WLAN_3370
1056    default "fw_Speedport_W501V_v_28.04.38.image"                           if FREETZ_TYPE_SPEEDPORT_W501V
1057    default "fritz.box..."                                                  if FREETZ_TYPE_CUSTOM
1058
1059config FREETZ_DL_SOURCE_MD5
1060    string "MD5 checksum for downloaded Image"  if FREETZ_DL_OVERRIDE
1061    default "7b109464d953dac912352dd9906c9d61"  if FREETZ_TYPE_2170
1062    default "57692fa45d7d8cfa9c97be2cbe3879ad"  if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_DE
1063    default "8acd3c4d936b7ff8c5d2065ee7bc7f9b"  if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1064    default "d4f060e9f5b0f10f1b9bc38d58a35bb6"  if (FREETZ_TYPE_300IP_AS_FON || FREETZ_TYPE_FON) && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1065    default "7b589d81b5efa26ceed427d2155bc340"  if FREETZ_TYPE_6840
1066    default "cdea5c36f629ce85e1a1613342cfc9f3"  if FREETZ_TYPE_FON_5010
1067    default "8961ba722c8e0be5ece061d75a07cf65"  if FREETZ_TYPE_FON_5050
1068    default "e6907e496a8351fa484bc64ff9f63bf0"  if FREETZ_TYPE_FON_5124 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1069    default "e802b344fcafe2cf4f31a839704c66df"  if FREETZ_TYPE_FON_5124 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1070    default "1eda8531cceea471e04985fa635ba146"  if FREETZ_TYPE_FON_5140
1071    default "240ec5c8484f8fee97cd122297bee186"  if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_DE
1072    default "7b08d49af5bfd00bee1ce6593b033630"  if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1073    default "9880d790edde44b3a75886c30f57df3e"  if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1074    default "7fabbf13889cf66b6f2dd47fe472a265"  if FREETZ_TYPE_FON_WLAN_7050
1075    default "dc9a508562ad95114a0a3e084a97db7e"  if FREETZ_TYPE_FON_WLAN_7112
1076    default "f5d91a5ce4d9e65a3c526211e4e5f01b"  if FREETZ_TYPE_FON_WLAN_7113 && FREETZ_TYPE_LANG_DE
1077    default "45898500d8559602650a498e75d34240"  if FREETZ_TYPE_FON_WLAN_7113 && FREETZ_TYPE_LANG_EN
1078    default "08eeaf5239709d8582d730de2bcb10bf"  if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_DE
1079    default "0f11ac77750c9360c249d9c1705e765e"  if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH
1080    default "34ec65831cbb25b486831f88bf459c4b"  if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1081    default "780de61611738fe8213b927b7f080b8c"  if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1082    default "b612f315216adf3b230e4d99430194a8"  if FREETZ_TYPE_FON_WLAN_7141
1083    default "5c5ff2e39056220007f145b672d0adc8"  if FREETZ_TYPE_FON_7150
1084    default "2442ffb2be983cdd0b4b4ceaa6825f4d"  if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
1085    default "b81376dcd3efd5f996491132b5e7c833"  if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_A_CH
1086    default "d49025fa2f94d7afd7acd505f50e43c2"  if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
1087    default "642eea123e85d1f6cde4481c6d8bd9a1"  if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
1088    default "a6774b308d631d0539ec58ba1f11d148"  if FREETZ_TYPE_FON_WLAN_7240
1089    default "516cde9ed5f928a581337ccf04b78c63"  if FREETZ_TYPE_FON_WLAN_7270_V1
1090    default "093fa1daf5443fc876b25d6478fd8f2a"  if FREETZ_TYPE_FON_WLAN_7270_V2 && FREETZ_TYPE_LANG_DE
1091    default "79db0d8cd00984efec0cd09efd81b10b"  if FREETZ_TYPE_FON_WLAN_7270_V2 && FREETZ_TYPE_LANG_EN
1092    default "3835ce8f42fe76a689e7baee7956b73b"  if (FREETZ_TYPE_FON_WLAN_7270_V3 || (FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_ALIEN_HARDWARE)) && FREETZ_TYPE_LANG_DE
1093    default "78debc04f083eab38ff06cad60a9ea8a"  if (FREETZ_TYPE_FON_WLAN_7270_V3 || (FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_ALIEN_HARDWARE)) && FREETZ_TYPE_LANG_EN
1094    default "bbc805c964a06cf146f961ed16225208"  if FREETZ_TYPE_FON_WLAN_7320
1095    default "77ea216a7500a9a522beeb105c786b63"  if FREETZ_TYPE_FON_WLAN_7330 && ! FREETZ_TYPE_FON_WLAN_7330_SL
1096    default "e0eefd62f8710fe9c0f96f246900e5c5"  if FREETZ_TYPE_FON_WLAN_7330_SL
1097    default "37a79764869166d845c7fc1aa19e6cb4"  if FREETZ_TYPE_FON_WLAN_7340
1098#   default "e2f616894705a25d03d5e535f811c13a"  if FREETZ_TYPE_FON_WLAN_7360 && ! FREETZ_TYPE_FON_WLAN_7360_SL
1099    default "e2f616894705a25d03d5e535f811c13a"  if FREETZ_TYPE_FON_WLAN_7360_SL
1100    default "891831513a50bd4a55ea49356e8bc063"  if FREETZ_TYPE_FON_WLAN_7390 && FREETZ_TYPE_LANG_DE
1101    default "13e7e674aa55bfb16389c31f5160a43c"  if FREETZ_TYPE_FON_WLAN_7390 && FREETZ_TYPE_LANG_EN
1102    default "caa18aa1888a6b4990fccaf386d1d86a"  if FREETZ_TYPE_FON_WLAN_7570
1103    default "f483cfab8da97207248f5e0703993a72"  if FREETZ_TYPE_WLAN_3020
1104    default "31653fb1ba044375ab389474951c1cf4"  if FREETZ_TYPE_WLAN_3030
1105    default "1c8dcee29f84c96648aa4b96271c9a16"  if FREETZ_TYPE_WLAN_3130
1106    default "a34a8d4f7af511d5dd6fff5f3c4e8276"  if FREETZ_TYPE_WLAN_3131
1107    default "f08942a9679002e21c29bb2cad9ded3e"  if FREETZ_TYPE_WLAN_3170
1108    default "2874722e1c55bb397e6ddce7bc990d2e"  if FREETZ_TYPE_WLAN_3270
1109    default "8fb87e292ffd89ff22a95ac7a56d6473"  if FREETZ_TYPE_WLAN_3270_V3
1110    default "0546c472b71ba284dd9444892bf2efc5"  if FREETZ_TYPE_WLAN_3370
1111    default "f64d17124ba354427a1710d12b35e00f"  if FREETZ_TYPE_SPEEDPORT_W501V
1112
1113config FREETZ_DL_SITE2
1114    string "AVM web interface DL Site"      if FREETZ_DL_OVERRIDE
1115    depends on\
1116        FREETZ_TYPE_3170_7170 || \
1117        FREETZ_TYPE_7112_7170 || \
1118        FREETZ_TYPE_7113_7170 || \
1119        FREETZ_TYPE_7140_7170 || \
1120        FREETZ_TYPE_7141_7170 || \
1121        FREETZ_TYPE_7240_7270 || \
1122        FREETZ_TYPE_7320_7330 || \
1123        FREETZ_TYPE_SINUS_W500V_7150 || \
1124        FREETZ_TYPE_SPEEDPORT_W501V || \
1125        FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
1126        FREETZ_TYPE_SPEEDPORT_W900V_7170 || \
1127        FREETZ_TYPE_SPEEDPORT_W920V_7570 || \
1128        FREETZ_TYPE_SPEEDPORT_W920V_LED_MODULE || \
1129        (FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_ADD_ANNEX_A_FIRMWARE)
1130    default "@AVM/fritzbox.wlan_3170/firmware/deutsch"          if FREETZ_TYPE_3170_7170
1131    default "@AVM/fritzbox.fon_wlan_7112/firmware/deutsch"      if FREETZ_TYPE_7112_7170
1132    default "@AVM/fritzbox.fon_wlan_7113/firmware/deutsch"      if FREETZ_TYPE_7113_7170
1133    default "@AVM/fritzbox.fon_wlan_7140/firmware/deutsch"      if FREETZ_TYPE_7140_7170
1134    default "@AVM/fritzbox.fon_wlan_7141/firmware/deutsch"      if FREETZ_TYPE_7141_7170
1135    default "@AVM/fritzbox.fon_wlan_7320/firmware/deutsch"      if FREETZ_TYPE_7320_7330
1136    default "@TELEKOM/Sinus W 500 V"                            if FREETZ_TYPE_SINUS_W500V_7150
1137    default "@TELEKOM/Speedport/Speedport W 701 V"              if FREETZ_TYPE_SPEEDPORT_W701V_7170
1138    default "@TELEKOM/Speedport/Speedport W 900V"               if FREETZ_TYPE_SPEEDPORT_W900V_7170
1139    default "@AVM/fritzbox.fon_wlan_7240/firmware/deutsch"      if FREETZ_TYPE_7240_7270
1140    default "@AVM/fritzbox.fon_wlan_7270_v2/firmware/english"   if FREETZ_TYPE_FON_WLAN_7270_V1
1141    default "@TELEKOM/Speedport/Speedport W 920V"               if FREETZ_TYPE_SPEEDPORT_W920V_7570 || FREETZ_TYPE_SPEEDPORT_W920V_LED_MODULE
1142
1143
1144config FREETZ_DL_SOURCE2
1145    string "AVM web interface firmware source"      if FREETZ_DL_OVERRIDE
1146    depends on \
1147        FREETZ_TYPE_3170_7170 || \
1148        FREETZ_TYPE_7112_7170 || \
1149        FREETZ_TYPE_7113_7170 || \
1150        FREETZ_TYPE_7140_7170 || \
1151        FREETZ_TYPE_7141_7170 || \
1152        FREETZ_TYPE_7240_7270 || \
1153        FREETZ_TYPE_7320_7330 || \
1154        FREETZ_TYPE_SINUS_W500V_7150 || \
1155        FREETZ_TYPE_SPEEDPORT_W501V || \
1156        FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
1157        FREETZ_TYPE_SPEEDPORT_W900V_7170 || \
1158        FREETZ_TYPE_SPEEDPORT_W920V_LED_MODULE || \
1159        FREETZ_TYPE_SPEEDPORT_W920V_7570 || \
1160        ((FREETZ_TYPE_FON_WLAN_7270_V1 || FREETZ_TYPE_FON_WLAN_7270_V2) && FREETZ_ADD_ANNEX_A_FIRMWARE)
1161    default "fritz.box_wlan_3170.49.04.58.image"                        if FREETZ_TYPE_3170_7170
1162    default "fritz.box_fon_wlan_7140.annexb.30.04.33.image"             if FREETZ_TYPE_7140_7170
1163    default "FRITZ.Box_Fon_WLAN_7112.87.04.87.image"                    if FREETZ_TYPE_7112_7170
1164    default "FRITZ.Box_Fon_WLAN_7113.60.04.68.image"                    if FREETZ_TYPE_7113_7170
1165    default "FRITZ.Box_Fon_WLAN_7141.40.04.76.image"                    if FREETZ_TYPE_7141_7170
1166    default "FRITZ.Box_Fon_WLAN_7320.100.04.89.image"                   if FREETZ_TYPE_7320_7330
1167    default "Sinus_W_500V.27.04.27.image"                               if FREETZ_TYPE_SINUS_W500V_7150
1168    default "fritz.box_fon_wlan_7141.40.04.37.image"                    if FREETZ_TYPE_SPEEDPORT_W501V
1169    default "fw_Speedport_W701V_v33.04.57.image"                        if FREETZ_TYPE_SPEEDPORT_W701V_7170
1170    default "fw_Speedport_W900V_v34.04.57.image"                        if FREETZ_TYPE_SPEEDPORT_W900V_7170
1171    default "FRITZ.Box_Fon_WLAN_7240.73.05.05.image"                    if FREETZ_TYPE_7240_7270
1172    default "FRITZ.Box_Fon_WLAN_7270_v2.en-de-es-it-fr.54.04.90.image"  if FREETZ_TYPE_FON_WLAN_7270_V1
1173    default "Speedport_W_920V.AnnexB.65.04.78.image"                    if FREETZ_TYPE_SPEEDPORT_W920V_7570 || FREETZ_TYPE_SPEEDPORT_W920V_LED_MODULE
1174
1175config FREETZ_DL_SOURCE2_MD5
1176    string "AVM web interface MD5"          if FREETZ_DL_OVERRIDE
1177    depends on \
1178        FREETZ_TYPE_3170_7170 || \
1179        FREETZ_TYPE_7112_7170 || \
1180        FREETZ_TYPE_7113_7170 || \
1181        FREETZ_TYPE_7140_7170 || \
1182        FREETZ_TYPE_7141_7170 || \
1183        FREETZ_TYPE_7240_7270 || \
1184        FREETZ_TYPE_7320_7330 || \
1185        FREETZ_TYPE_SINUS_W500V_7150 || \
1186        FREETZ_TYPE_SPEEDPORT_W501V || \
1187        FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
1188        FREETZ_TYPE_SPEEDPORT_W900V_7170 || \
1189        FREETZ_TYPE_SPEEDPORT_W920V_7570 || \
1190        ((FREETZ_TYPE_FON_WLAN_7270_V1 || FREETZ_TYPE_FON_WLAN_7270_V2) && FREETZ_ADD_ANNEX_A_FIRMWARE)
1191    default "f08942a9679002e21c29bb2cad9ded3e"  if FREETZ_TYPE_3170_7170
1192    default "08eeaf5239709d8582d730de2bcb10bf"  if FREETZ_TYPE_7140_7170
1193    default "dc9a508562ad95114a0a3e084a97db7e"  if FREETZ_TYPE_7112_7170
1194    default "f5d91a5ce4d9e65a3c526211e4e5f01b"  if FREETZ_TYPE_7113_7170
1195    default "b612f315216adf3b230e4d99430194a8"  if FREETZ_TYPE_7141_7170
1196    default "bbc805c964a06cf146f961ed16225208"  if FREETZ_TYPE_7320_7330
1197    default "c49167da6dca42cdb34fbffbaf2c4097"  if FREETZ_TYPE_SPEEDPORT_W501V
1198    default "e34713bd989c3e266a4650c133582510"  if FREETZ_TYPE_SPEEDPORT_W701V_7170
1199    default "dd6f7461976c64b9808d2cf74ab4532f"  if FREETZ_TYPE_SPEEDPORT_W900V_7170
1200    default "a6774b308d631d0539ec58ba1f11d148"  if FREETZ_TYPE_7240_7270
1201    default "716e136d91ab153f028d1a4e13390f71"  if FREETZ_TYPE_FON_WLAN_7270_V1
1202    default "829972b62ae54bd4e526fe727c5c460b"  if FREETZ_TYPE_SPEEDPORT_W920V_7570
1203
1204config FREETZ_DL_SOURCE2_CONTAINER
1205    string
1206    depends on FREETZ_TYPE_SINUS_W500V_7150
1207    default "fw_SinusW500V_27_04_27.zip"
1208
1209config FREETZ_DL_SOURCE2_CONTAINER_MD5
1210    string
1211    depends on FREETZ_TYPE_SINUS_W500V_7150
1212    default "e13231dcfba56505ebf7bac4ee72af75"
1213
1214menu "Build system options"
1215
1216config FREETZ_VERBOSITY_LEVEL
1217    int "Verbosity level (0-2)"
1218    default 2
1219    help
1220        Verbosity level of the fwmod script and tar.
1221        0 is the least and 2 the most information.
1222
1223config FREETZ_SIZEINFO_COMPRESSED
1224    bool "Show compressed sizes during build"
1225    default y
1226    help
1227        Show compressed sizes of libs, packages & modules during build"
1228
1229config FREETZ_SIZEINFO_UNCOMPRESSED
1230    bool "Show uncompressed sizes too"
1231    depends on FREETZ_SIZEINFO_COMPRESSED
1232    default n
1233    help
1234        Show uncompressed sizes of libs, packages & modules too"
1235
1236menu "Firmware packaging (fwmod) special options"
1237    visible if FREETZ_SHOW_ADVANCED
1238
1239comment "CAUTION: you probably want to activate unpacking"
1240    depends on FREETZ_FWMOD_SKIP_UNPACK
1241
1242config FREETZ_FWMOD_SKIP_UNPACK
1243    bool "Skip unpacking original firmware"
1244    default n
1245    help
1246        In 99,9% of all cases you want this option deactivated because usually
1247        it makes a lot of sense to unpack a firmware before modifying it. ;-)
1248
1249config FREETZ_FWMOD_SKIP_MODIFY
1250    bool "Skip modifying unpacked firmware, adding Freetz stuff"
1251    default n
1252    help
1253        Usually you want this option deactivated, but maybe you want to use
1254        the Freetz build infrastructure to build your own custom firmware mod
1255        without actually adding any Freetz-specific stuff. If so, activate
1256        this option.
1257
1258config FREETZ_FWMOD_SKIP_PACK
1259    bool "Skip packing modified firmware"
1260    default n
1261    help
1262        If you are a USB root or NFS root user, you probably do not need a
1263        packed firmware image for flashing. It might not fit into the box's
1264        flash memory anyway if you have chosen a lot of packages. In that
1265        case you want to activate this option.
1266
1267config FREETZ_FWMOD_SDK
1268    bool "Force pack even if image is too big (SDK stick mode)"
1269    depends on ! FREETZ_FWMOD_SKIP_PACK
1270    default n
1271    help
1272        Choose this option if you intend to use the packed image on an SDK
1273        stick (see http://wehavemorefun.de/fritzbox/index.php/SDK-Firmware).
1274        At the time of writing this, SDK stick mode is only supported on
1275        7270_v2/3, but maybe you found a way to port it to another firmware,
1276        so you are free to use this option at will.
1277
1278config FREETZ_FWMOD_USBROOT
1279    bool "Pack file system into archive (USB root mode)"
1280    default n
1281    help
1282        Choose this option if you intend to use the modified file system as a
1283        USB root and want it packed into a .tar.gz archive for later transfer
1284        to the USB medium.
1285
1286        This option can also be useful for NFS root, if you want to archive
1287        the file system in addition to or instead of copying it to a target
1288        directory directly using the next option.
1289
1290config FREETZ_FWMOD_NFSROOT
1291    bool "Copy file system to target folder (NFS root mode)"
1292    default n
1293    select FREETZ_FWMOD_USBROOT
1294    help
1295        Choose this option if you intend to use the modified file system as
1296        an NFS root and want it copied to a target folder of your choice.
1297
1298        This option can also be useful for USB root, if the target USB medium
1299        is already attached to your workstation or accessible via NFS (*not*
1300        Samba/CIFS!).
1301
1302        ATTENTION: Make sure that the target folder is *not* mounted as a
1303        USB/NFS root while copying files into it. This would probably cause
1304        your box to reboot and lead to an inconsistent root file system.
1305        You should also be aware of the fact that in order to cleanly unpack
1306        file root system to the target folder we need to be root (fakeroot is
1307        enough to pack, but not to unpack). So please be ready to enter your
1308        user password for sudo.
1309
1310comment "ATTENTION: target folder name must not be empty"
1311
1312config FREETZ_FWMOD_NFSROOT_DIR
1313    string "Target folder name"
1314    depends on FREETZ_FWMOD_NFSROOT
1315    default ""
1316    help
1317        Enter the target folder name here. It can be either absolute or
1318        relative to the Freetz build system's base directory (where e.g.
1319        fwmod is located).
1320
1321endmenu # Firmware packaging (fwmod) special options
1322
1323config FREETZ_JLEVEL
1324    int "Number of jobs to run simultaneously"
1325    default 2
1326    help
1327        Number of jobs to run simultanesouly
1328
1329config FREETZ_CHECK_CHANGED
1330    bool "Force package clean if it has changed"
1331    default y
1332    help
1333        If this is activated, all packages are checked for changes in make/<pkg>/files
1334        and make/<pkg>/patches. If so, the package will be recreated.
1335
1336config FREETZ_BACKUP_CONFIG_CACHE
1337    bool "Backup config.cache"
1338    default n
1339    help
1340        This is a developer only option.
1341        It causes config.cache to be backed up before calling package configure script and after that.
1342        This might simplify searching for a missing/wrong config.cache entry.
1343
1344config FREETZ_DL_SITE_USER
1345    string "User-defined download site"
1346    help
1347        User-defined download site for Freetz packages and source files.
1348
1349        Note: We recommend you to only set a user-defined value here, if necessary.
1350        Necessary means that the regular Freetz mirrors are currently unavailable
1351        or the desired package cannot be found on either of them.
1352
1353endmenu # "Build system options" #
1354
1355menu "Freetz customisation"
1356
1357    config FREETZ_OPTIONS_ETCSERVICES
1358        bool "add /etc/services"
1359        default y
1360        select FREETZ_PACKAGE_MOD_ETCSERVICES
1361        help
1362            Adds /etc/services file.
1363            Used eg by netstat to display names of IP-ports.
1364
1365    config FREETZ_SECURITY_LEVEL
1366        int "Default security level (0-2)"
1367        default 1
1368        help
1369            There are several security levels.
1370            0 : no restrictions
1371            1 : only configuration files without shell commands might be edited
1372            2 : no configuration files might be edited.
1373
1374    choice
1375        prompt "Freetz Style"
1376        default FREETZ_STYLE_COLORED
1377        help
1378            Changes the style sheet file for Freetz web interface.
1379            For example, look of the Freetz status-bars can be changed
1380            from colored to grey by change of the Freetz style.
1381
1382        config FREETZ_STYLE_COLORED
1383            bool "Default - green status-bars"
1384
1385        config FREETZ_STYLE_GREY
1386            bool "Alternative - grey status-bars"
1387
1388    endchoice # "Freetz Style" #
1389
1390    config FREETZ_STYLE
1391        string
1392        default "colored" if FREETZ_STYLE_COLORED
1393        default "grey"    if FREETZ_STYLE_GREY
1394
1395    menu "Webinterface skins"
1396
1397    comment "CAUTION: You should select at least one skin."
1398    depends on \
1399        !FREETZ_SKIN_legacy && \
1400        !FREETZ_SKIN_phoenix && \
1401        !FREETZ_SKIN_newfreetz
1402
1403    config FREETZ_SKIN_legacy
1404        bool "legacy"
1405        default y
1406        help
1407            Main color blue, menu at right.
1408            Size: about 12 kB (uncompressed)
1409
1410    config FREETZ_SKIN_newfreetz
1411        bool "newfreetz"
1412        default n
1413        help
1414            Main color green, menu at left.
1415            Size: about 33 kB (uncompressed)
1416
1417    config FREETZ_SKIN_phoenix
1418        bool "phoenix"
1419        default n
1420        help
1421            Main color red, menu at top.
1422            Size: about 15 kB (uncompressed)
1423
1424    endmenu
1425
1426    choice
1427        prompt "Favicon"
1428        default FREETZ_FAVICON_NONE
1429        help
1430            Adds small favicons to the document root.
1431
1432        config FREETZ_FAVICON_NONE
1433            bool "none"
1434
1435        config FREETZ_FAVICON_ATOMPHIL
1436            bool "atomphil's favicon"
1437
1438        config FREETZ_FAVICON_CUMA
1439            bool "cuma's favicons"
1440
1441        config FREETZ_FAVICON_DSL123
1442            bool "dsl123's favicons"
1443
1444        config FREETZ_FAVICON_HANSOLO
1445            bool "han-solo's favicons"
1446
1447    endchoice # "Favicon" #
1448
1449    config FREETZ_FAVICON_STRING
1450        string
1451        default "none"          if FREETZ_FAVICON_NONE
1452        default "atomphil"      if FREETZ_FAVICON_ATOMPHIL
1453        default "cuma"          if FREETZ_FAVICON_CUMA
1454        default "dsl123"        if FREETZ_FAVICON_DSL123
1455        default "hansolo"       if FREETZ_FAVICON_HANSOLO
1456
1457    choice
1458        prompt "Tagging"
1459        default FREETZ_TAGGING_NONE
1460        help
1461            Adds a tag to the AVM web-interface, so it is obvious to
1462            everybody that this box was modified by Freetz.
1463
1464        config FREETZ_TAGGING_NONE
1465            bool "none"
1466
1467        config FREETZ_TAGGING_CUMA
1468            bool "cuma's tagging"
1469
1470    endchoice # "Tagging" #
1471
1472    config FREETZ_TAGGING_STRING
1473        string
1474        default "none"          if FREETZ_TAGGING_NONE
1475        default "cuma"          if FREETZ_TAGGING_CUMA
1476
1477endmenu # "Freetz customisation" #
1478
1479menu "Additional image/box information"
1480
1481config FREETZ_SUBVERSION_STRING
1482    bool "Add Freetz version to subversion string"
1483    default y if !FREETZ_TYPE_FON_WLAN_7270_V1
1484    default n
1485    help
1486        Add Freetz version to subversion string, e.g. -11945-freetz-devel-2417.
1487        Disable this if you have trouble with your isp or plugin downloads from
1488        AVM don't work.
1489
1490        Please only disable this option if you really need to!
1491
1492config FREETZ_DEVELOPER_VERSION_STRING
1493    bool "Developer version string"
1494    depends on FREETZ_SUBVERSION_STRING
1495    default y
1496    help
1497        Add SVN (Subversion) repository revision number to firmware image name
1498        and to /etc/.subversion, /etc/version within firmware itself.
1499
1500        The revision number string is generated by the client command line tool
1501        svnversion and may include switch/modify flags and/or a range of
1502        version numbers, depending on the current state of the working
1503        directory at the time of generation. See 'svnversion --help' for
1504        details.
1505
1506        ATTENTION! This option is for developers working on checked-out
1507        versions of the Freetz source code only and requires svnversion to be
1508        installed.
1509
1510config FREETZ_USER_DEFINED_COMMENT
1511    string "User defined comment"
1512    default ""
1513    help
1514        User defined comment for generated image.
1515
1516config FREETZ_CUSTOM_IMAGE_NAME
1517    bool "Add user defined comment to image name"
1518    depends on FREETZ_SHOW_ADVANCED
1519    default n
1520    help
1521        Add the user defined comment to the file name of the created image
1522
1523config FREETZ_CUSTOM_IMAGE_NAME_PREFIX
1524    bool "Add custom string as prefix"
1525    depends on FREETZ_SHOW_ADVANCED && FREETZ_CUSTOM_IMAGE_NAME
1526    default n
1527    help
1528        Add the user defined comment as a prefix in front of the image file name.
1529        Otherwise the user defined comment will be added between the language setting
1530        and the build date
1531
1532config FREETZ_REMOVE_BOX_INFO
1533    bool "Remove BOX-Info page from image"
1534    depends on FREETZ_SHOW_ADVANCED
1535    default n
1536    help
1537        BOX-Info is a special status page for compact presentation of important
1538        information about your Fritz!Box: ROM/RAM size, processor type,
1539        DSL driver information, etc.
1540
1541        If you do not have enough space in your image, you can remove BOX-Info
1542        from your image. But usualy it is not necessary: The size of BOX-Info cgi
1543        is very small (2-3 kByte).
1544
1545config FREETZ_REMOVE_FREETZ_INFO
1546    bool "Remove FREETZ-Info page from image"
1547    depends on FREETZ_SHOW_ADVANCED
1548    default n
1549    help
1550        FREETZ-Info is a special status page for compact presentation of important
1551        information about FREETZ. This status page can also show the .config,
1552        if it is included into image (s. "Remove .config from Image").
1553
1554        If you do not have enough space in your image, you can remove FREETZ-Info
1555        from your image. But usualy it is not necessary: The size of FREETZ-Info
1556        is very small (2-3 kByte).
1557
1558config FREETZ_CREATE_SEPARATE_OPTIONS_CFG
1559    bool "Create options.cfg as a separate file"
1560    depends on FREETZ_SHOW_ADVANCED
1561    default y
1562    help
1563        When unchecked causes options.cfg to be created as a symbolic link to .config
1564
1565        When checked causes options.cfg to be created as a separate file containing
1566        a much smaller subset of options included in .config. This increases image
1567        size by about 160 bytes but reduces memory footprint at run-time.
1568
1569config FREETZ_REMOVE_DOT_CONFIG
1570    bool "Remove .config from image"
1571    depends on FREETZ_SHOW_ADVANCED && FREETZ_CREATE_SEPARATE_OPTIONS_CFG
1572    default n
1573    help
1574        Usually, a stripped version of the FREETZ configuration file .config
1575        is integrated into the image for better trouble-shooting.
1576
1577        It is not recommended to remove .config from the image,
1578        but if you want to save a few bytes in your image and
1579        you are sure that removing this file is the last chance to have
1580        a working image, you can do it on your own risk!
1581
1582endmenu # "Additional image/box information" #
1583
1584config FREETZ_AVMPLUGINS_ENABLED
1585    bool "Integrate AVM Plugins into image"
1586    depends on FREETZ_TYPE_FON_WLAN_7270_V1
1587    default n
1588    help
1589        This feature disables AVM's plugin download and handling.
1590        You could integrate these plugins directly into the firmware image by
1591        selecting them below. This saves some resources because plugins are not
1592        copied into RAM nor mounted with loop-devices.
1593
1594menu "Plugin selection"
1595
1596    depends on FREETZ_AVMPLUGINS_ENABLED
1597
1598    comment "Select plugin(s) for insertion"
1599
1600    config FREETZ_AVMPLUGINS_MEDIASRV
1601        bool "MEDIASRV"
1602        default n
1603        help
1604            Integrates UPNP Mediaserver
1605
1606    config FREETZ_AVMPLUGINS_MINI
1607        bool "MINI"
1608        default n
1609        help
1610            Integrates FRITZ! Mini support
1611
1612    config FREETZ_AVMPLUGINS_NTFS
1613        bool "NTFS"
1614        default n
1615        help
1616            Integrates NTFS filesystem support
1617            Not recommended if you are using Freetz-NTFS!
1618
1619    config FREETZ_AVMPLUGINS_ONLINEPB
1620        bool "Online Phone Book"
1621        default n
1622        help
1623            Integrates Online Phone Book support
1624
1625    config FREETZ_AVMPLUGINS_SAMBA
1626        bool "SAMBA"
1627        depends on ! FREETZ_PACKAGE_SAMBA
1628        default n
1629        help
1630            Integrates AVM's Samba Fileserver
1631
1632    config FREETZ_AVMPLUGINS_TAM
1633        bool "TAM"
1634        default n
1635        help
1636            Integrates Telephone Answering Machine (TAM)
1637
1638    config FREETZ_AVMPLUGINS_WEBDAV
1639        bool "WEBDAV"
1640        depends on ! FREETZ_PACKAGE_DAVFS2 && ! FREETZ_REMOVE_WEBDAV
1641        default n
1642        help
1643            Integrates AVM's webdav
1644
1645endmenu # "Plugin selection" #
1646
1647
1648comment "CAUTION: SquashFS block sizes >64 KB can cause an unstable box due to extensive memory usage"
1649    depends on ! (FREETZ_SQUASHFS_BLOCKSIZE_ORIG || FREETZ_SQUASHFS_BLOCKSIZE_65536)
1650
1651choice
1652    prompt "SquashFS block size"
1653    default FREETZ_SQUASHFS_BLOCKSIZE_65536
1654
1655    config FREETZ_SQUASHFS_BLOCKSIZE_ORIG
1656        bool "original (usually 64 KB)"
1657        help
1658            Block size of the root filesystem. SquashFS 2.x can use block sizes
1659            up to 64 KB, SquashFS 3.x (only available for kernel 2.6.19.2 or
1660            with "replace kernel") up to 1024 KB. Bigger block sizes achieve
1661            better compression ratios than smaller ones.
1662
1663            64 KB is the default for kernel 2.6 firmwares.
1664
1665#   config FREETZ_SQUASHFS_BLOCKSIZE_16384
1666#       bool "16 KB"
1667
1668#   config FREETZ_SQUASHFS_BLOCKSIZE_32768
1669#       bool "32 KB"
1670
1671    config FREETZ_SQUASHFS_BLOCKSIZE_65536
1672        bool "64 KB"
1673        help
1674            Block size of the root filesystem. SquashFS 2.x can use block sizes
1675            up to 64 KB, SquashFS 3.x (only available for kernel 2.6.19.2 or
1676            with "replace kernel") up to 1024 KB. Bigger block sizes achieve
1677            better compression ratios than smaller ones.
1678
1679            64 KB is the default for kernel 2.6 firmwares.
1680
1681if FREETZ_SHOW_ADVANCED && \
1682    FREETZ_REPLACE_KERNEL && \
1683    FREETZ_KERNEL_VERSION_2_6_19_MAX
1684
1685    config FREETZ_SQUASHFS_BLOCKSIZE_131072
1686        bool "128 KB - EXPERIMENTAL"
1687
1688    config FREETZ_SQUASHFS_BLOCKSIZE_262144
1689        bool "256 KB - EXPERIMENTAL"
1690
1691    config FREETZ_SQUASHFS_BLOCKSIZE_524288
1692        bool "512 KB - EXPERIMENTAL"
1693
1694    config FREETZ_SQUASHFS_BLOCKSIZE_1048576
1695        bool "1024 KB - EXPERIMENTAL"
1696
1697endif # FREETZ_SHOW_ADVANCED #
1698
1699endchoice # "SquashFS block size" #
1700
1701config FREETZ_SQUASHFS_BLOCKSIZE
1702    int
1703    help
1704        Numeric SquashFS block size in bytes
1705
1706    default 16384 if FREETZ_SQUASHFS_BLOCKSIZE_16384
1707    default 32768 if FREETZ_SQUASHFS_BLOCKSIZE_32768
1708    default 65536 if FREETZ_SQUASHFS_BLOCKSIZE_65536
1709    default 131072 if FREETZ_SQUASHFS_BLOCKSIZE_131072
1710    default 262144 if FREETZ_SQUASHFS_BLOCKSIZE_262144
1711    default 524288 if FREETZ_SQUASHFS_BLOCKSIZE_524288
1712    default 1048576 if FREETZ_SQUASHFS_BLOCKSIZE_1048576
1713
1714menu "Kernel and modules options"
1715
1716    source kernel/Config.in
1717
1718endmenu # "Kernel and modules options" #
1719
1720menu "BusyBox options"
1721
1722    depends on FREETZ_REPLACE_BUSYBOX
1723    source make/busybox/Config.in
1724
1725endmenu # "BusyBox options" #
1726
1727menu "Shared Libraries"
1728
1729    source make/libs/Config.in
1730
1731endmenu # "Shared Libraries" #
1732
1733menu "Strip binaries, libs, modules and scripts"
1734
1735config FREETZ_STRIP_BINARIES
1736    bool "Strip leftover unstripped binaries"
1737    default y
1738    help
1739        This option shrinks unstripped binaries via fwmod script.
1740        In case of problems, you can disable it (Default: enabled).
1741
1742config FREETZ_STRIP_LIBRARIES
1743    bool "Run mklibs on the built root filesystem - EXPERIMENTAL"
1744    depends on FREETZ_SHOW_ADVANCED
1745    default n
1746    help
1747        Recompiles all the shared libraries to only include the
1748        symbols actually needed to run the binaries on the target.
1749
1750        Note that this will make the system libraries incompatible
1751        with most of the packages that are not selected during the
1752        build process.
1753
1754choice
1755
1756    prompt "Strip kernel modules - EXPERIMENTAL"
1757        depends on FREETZ_SHOW_ADVANCED
1758        default FREETZ_STRIP_MODULES_NONE
1759
1760    config FREETZ_STRIP_MODULES_NONE
1761        bool "none"
1762        help
1763            Disables shrinking of modules.
1764
1765    config FREETZ_STRIP_MODULES_FREETZ
1766        bool "Freetz only"
1767        help
1768            Shrinks modules added by Freetz only.
1769
1770    config FREETZ_STRIP_MODULES_ALL
1771        bool "Freetz & AVM"
1772        help
1773            Shrinks all modules. May cause weird effects, like
1774            all LEDs flashing. See http://freetz.org/ticket/1249
1775
1776endchoice
1777
1778config FREETZ_STRIP_SCRIPTS
1779    bool "Strip comments from shell scripts - EXPERIMENTAL"
1780    #depends on FREETZ_TARGET_REF_4MB || FREETZ_TARGET_REF_8MB
1781    default n
1782    help
1783        Shrinks shell scripts by removing comments and whitespace. Saves up to
1784        37K (compressed), depending on firmware and package selection.
1785
1786        DO NOT USE this option unless you absolutely have to because you are in
1787        desparate need for some more space in your firmware image. This mostly
1788        applies to hardware with just 4 MB flash memory, maybe 8 MB in some cases.
1789
1790        ATTENTION: This option has a runtime of 1 minute!
1791
1792        CAVEAT: The stripping code is a simple heuristic, so theoretically there
1793        could be problems caused by mutilated scripts (unlikely, but possible).
1794        In case of strange firmware behaviour you might want to disable this patch
1795        and retry to see if that fixes the problem. If so, please report to the
1796        Freetz team.
1797
1798endmenu # "Strip binaries, libs, modules and scripts" #
1799
1800menu "External"
1801
1802config EXTERNAL_ENABLED
1803    bool "Enable external processing"
1804    default n
1805    help
1806        Enable this to move (big) files out of the firmware-image onto
1807        an attached USB device or a mounted network share like SMB or NFS.
1808
1809        -------------------------- WARNING ----------------------------------
1810        Move all the files from build/modified/external to your choosen
1811        directory on the box BEFORE you flash the reduced image!
1812
1813        -------------------------- WARNING ----------------------------------
1814        Do NOT external files needed to boot up Freetz!
1815
1816config EXTERNAL_DOWNLOADER
1817    bool "Prepare files for Downloader"
1818    default n
1819    depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_DOWNLOADER
1820    help
1821        Prepare files for Downloader package.
1822        Downloader loads usualy files from a http or ftp server into the RAM of the box.
1823
1824config EXTERNAL_LINKS
1825    bool "Do not ignore symbolic links"
1826    default n
1827    depends on EXTERNAL_ENABLED
1828    help
1829        Allows externalisation of symbolic links.
1830
1831config EXTERNAL_SUBDIRS
1832    bool "Keep subdirectories"
1833    default n if ! EXTERNAL_DOWNLOADER
1834    default y if EXTERNAL_DOWNLOADER
1835    depends on EXTERNAL_ENABLED
1836    help
1837        Keep the original directory structure
1838
1839config EXTERNAL_CREATEPAK
1840    bool "Create file for upload" if ! EXTERNAL_DOWNLOADER
1841    default y
1842    depends on EXTERNAL_ENABLED && ! EXTERNAL_DOWNLOADER
1843    help
1844        Creates a file for upload with the webinterface
1845
1846config EXTERNAL_OWN_FILES
1847    string "own files"
1848    default ""
1849    depends on EXTERNAL_ENABLED && FREETZ_SHOW_ADVANCED
1850    help
1851        Put your own files/directorys here (space seperated)
1852
1853source make/external.in
1854source kernel/external.in
1855
1856endmenu # "External" #
1857
1858config FREETZ_TARGET_ARCH_LE
1859    bool
1860    default y
1861    depends on \
1862        FREETZ_TYPE_2170 || \
1863        FREETZ_TYPE_300IP_AS_FON || \
1864        FREETZ_TYPE_FON || \
1865        FREETZ_TYPE_FON_5010 || \
1866        FREETZ_TYPE_FON_5050 || \
1867        FREETZ_TYPE_FON_5124 || \
1868        FREETZ_TYPE_FON_5140 || \
1869        FREETZ_TYPE_FON_WLAN || \
1870        FREETZ_TYPE_FON_WLAN_7050 || \
1871        FREETZ_TYPE_FON_WLAN_7112 || \
1872        FREETZ_TYPE_FON_WLAN_7113 || \
1873        FREETZ_TYPE_FON_WLAN_7141 || \
1874        FREETZ_TYPE_FON_WLAN_7140 || \
1875        FREETZ_TYPE_FON_7150 || \
1876        FREETZ_TYPE_FON_WLAN_7170 || \
1877        FREETZ_TYPE_FON_WLAN_7240 || \
1878        FREETZ_TYPE_FON_WLAN_7270 || \
1879        FREETZ_TYPE_FON_WLAN_7570 || \
1880        FREETZ_TYPE_FON_WLAN_7570 || \
1881        FREETZ_TYPE_WLAN_3020 || \
1882        FREETZ_TYPE_WLAN_3030 || \
1883        FREETZ_TYPE_WLAN_3130 || \
1884        FREETZ_TYPE_WLAN_3131 || \
1885        FREETZ_TYPE_WLAN_3170 || \
1886        FREETZ_TYPE_WLAN_3270 || \
1887        FREETZ_TYPE_WLAN_3270_V3 || \
1888        FREETZ_TYPE_SPEEDPORT_W501V
1889
1890config FREETZ_TARGET_ARCH_BE
1891    bool
1892    default y
1893    depends on \
1894        FREETZ_TYPE_6840 || \
1895        FREETZ_TYPE_FON_WLAN_7320 || \
1896        FREETZ_TYPE_FON_WLAN_7330 || \
1897        FREETZ_TYPE_FON_WLAN_7340 || \
1898        FREETZ_TYPE_FON_WLAN_7360 || \
1899        FREETZ_TYPE_FON_WLAN_7390 || \
1900        FREETZ_TYPE_WLAN_3370
1901
1902config FREETZ_TARGET_ARCH
1903    string
1904    default "mips" if FREETZ_TARGET_ARCH_BE
1905    default "mipsel" if FREETZ_TARGET_ARCH_LE
1906
1907config FREETZ_TARGET_CROSS
1908    string
1909    default "mips-linux-uclibc-" if FREETZ_TARGET_ARCH_BE
1910    default "mipsel-linux-uclibc-" if FREETZ_TARGET_ARCH_LE
1911
1912config FREETZ_TARGET_MAKE_PATH
1913    string
1914    default "toolchain/target/bin"
1915
1916config FREETZ_KERNEL_CROSS
1917    string
1918    default "mips-unknown-linux-gnu-" if FREETZ_TARGET_ARCH_BE
1919    default "mipsel-unknown-linux-gnu-" if FREETZ_TARGET_ARCH_LE
1920
1921config FREETZ_KERNEL_MAKE_PATH
1922    string
1923    default "toolchain/kernel/bin"
1924
1925menu "Toolchain options"
1926
1927choice
1928    prompt "Toolchains"
1929    default FREETZ_DOWNLOAD_TOOLCHAIN
1930    help
1931        Download Toolchain, build toolchain
1932
1933    config FREETZ_DOWNLOAD_TOOLCHAIN
1934        bool "Download and use precompiled toolchain"
1935
1936    config FREETZ_BUILD_TOOLCHAIN
1937        bool "Build toolchain (requires 4GB diskspace)"
1938
1939endchoice # "Toolchains" #
1940
1941source toolchain/Config.in
1942
1943endmenu # "Toolchain options" #
1944
1945endmenu # "Advanced options" #
Hinweis: Hilfe zum Repository-Browser finden Sie in TracBrowser.