pygments-main / tests / examplefiles / Config.in.cache

   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
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
# INCLUDE_BEGIN Config.in
mainmenu "Freetz Configuration"

config FREETZ_HAVE_DOT_CONFIG
	bool
	default y

comment "General --------------------------------"

config FREETZ_AVM_VERSION_04_30
	bool
config FREETZ_AVM_VERSION_04_33
	bool
config FREETZ_AVM_VERSION_04_40
	bool
config FREETZ_AVM_VERSION_04_49
	bool
config FREETZ_AVM_VERSION_04_57
	bool
config FREETZ_AVM_VERSION_04_67
	bool
config FREETZ_AVM_VERSION_04_70
	bool
config FREETZ_AVM_VERSION_04_76
	bool
config FREETZ_AVM_VERSION_04_80
	bool
config FREETZ_AVM_VERSION_04_87
	bool
config FREETZ_AVM_VERSION_7270_04_86
	bool
config FREETZ_AVM_VERSION_7270_05_05
	bool
config FREETZ_AVM_VERSION_7320_04_86
	bool
config FREETZ_AVM_VERSION_7390_04_90
	bool
config FREETZ_AVM_VERSION_7390_05_05
	bool
config FREETZ_AVM_VERSION_r7203
	bool

choice
	prompt "Hardware type"
		default FREETZ_TYPE_FON_WLAN_7270_V2
		help
			Select your box type here.

	config FREETZ_TYPE_300IP_AS_FON
		select FREETZ_AVM_VERSION_04_49
		bool "300IP as Fon"

	config FREETZ_TYPE_2170
		select FREETZ_AVM_VERSION_04_57
		bool "2170"

	config FREETZ_TYPE_FON
		select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
		select FREETZ_AVM_VERSION_04_49 if ! FREETZ_TYPE_LANG_DE
		bool "Fon"

	config FREETZ_TYPE_FON_5010
		select FREETZ_AVM_VERSION_04_40
		bool "Fon 5010"

	config FREETZ_TYPE_FON_5050
		select FREETZ_AVM_VERSION_04_30
		bool "Fon 5050"

	config FREETZ_TYPE_FON_5124
		select FREETZ_AVM_VERSION_04_76
		bool "Fon 5124"

	config FREETZ_TYPE_FON_5140
		select FREETZ_AVM_VERSION_04_67
		bool "Fon 5140"

	config FREETZ_TYPE_FON_WLAN
		select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
		select FREETZ_AVM_VERSION_04_49 if ! FREETZ_TYPE_LANG_DE
		bool "Fon WLAN"

	config FREETZ_TYPE_FON_WLAN_7050
		select FREETZ_AVM_VERSION_04_33
		bool "Fon WLAN 7050"

	config FREETZ_TYPE_FON_WLAN_7112
		select FREETZ_AVM_VERSION_04_87
		bool "Fon WLAN 7112"

	config FREETZ_TYPE_FON_WLAN_7113
		select FREETZ_AVM_VERSION_04_80 if FREETZ_TYPE_LANG_EN
		select FREETZ_AVM_VERSION_04_67 if FREETZ_TYPE_LANG_DE
		bool "Fon WLAN 7113"

	config FREETZ_TYPE_FON_WLAN_7140
		select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
		select FREETZ_AVM_VERSION_04_76 if FREETZ_TYPE_LANG_A_CH
		select FREETZ_AVM_VERSION_04_67 if FREETZ_TYPE_LANG_EN
		bool "Fon WLAN 7140"

	config FREETZ_TYPE_FON_WLAN_7141
		select FREETZ_AVM_VERSION_04_76
		bool "Fon WLAN 7141"

	config FREETZ_TYPE_FON_7150
		select FREETZ_AVM_VERSION_04_70
		bool "Fon 7150"

	config FREETZ_TYPE_FON_WLAN_7170
		select FREETZ_AVM_VERSION_04_76 if FREETZ_TYPE_LANG_A_CH
		select FREETZ_AVM_VERSION_04_80 if FREETZ_TYPE_LANG_EN
		select FREETZ_AVM_VERSION_04_87 if FREETZ_TYPE_LANG_DE
		bool "Fon WLAN 7170"

	config FREETZ_TYPE_FON_WLAN_7240
		select FREETZ_AVM_VERSION_7270_05_05
		bool "Fon WLAN 7240"

	config FREETZ_TYPE_FON_WLAN_7270_V1
		select FREETZ_TYPE_FON_WLAN_7270
		bool "Fon WLAN 7270 v1"

	config FREETZ_TYPE_FON_WLAN_7270_V2
		select FREETZ_TYPE_FON_WLAN_7270
		bool "Fon WLAN 7270 v2"

	config FREETZ_TYPE_FON_WLAN_7270_V3
		select FREETZ_TYPE_FON_WLAN_7270
		bool "Fon WLAN 7270 v3"

	config FREETZ_TYPE_FON_WLAN_7320
		select FREETZ_AVM_VERSION_7320_04_86
		bool "Fon WLAN 7320"

	config FREETZ_TYPE_FON_WLAN_7330
		select FREETZ_AVM_VERSION_7320_04_86
		bool "Fon WLAN 7330"

	config FREETZ_TYPE_FON_WLAN_7340
		select FREETZ_AVM_VERSION_7390_05_05
		bool "Fon WLAN 7340"

	config FREETZ_TYPE_FON_WLAN_7390
		select FREETZ_AVM_VERSION_7390_05_05
		bool "Fon WLAN 7390"

	config FREETZ_TYPE_FON_WLAN_7570
		select FREETZ_AVM_VERSION_7270_04_86
		bool "Fon WLAN 7570 VDSL"

	config FREETZ_TYPE_FON_WLAN_7570_IAD
		bool "build firmware for Alice IAD 7570"
		depends on FREETZ_TYPE_FON_WLAN_7570
	comment "Hint: Use replace kernel to get max filesystem size"
		depends on FREETZ_TYPE_FON_WLAN_7570_IAD

	config FREETZ_TYPE_WLAN_3020
		select FREETZ_AVM_VERSION_04_33
		bool "WLAN 3020"

	config FREETZ_TYPE_WLAN_3030
		select FREETZ_AVM_VERSION_04_33
		bool "WLAN 3030"

	config FREETZ_TYPE_WLAN_3130
		select FREETZ_AVM_VERSION_04_33
		bool "WLAN 3130"

	config FREETZ_TYPE_WLAN_3131
		select FREETZ_AVM_VERSION_04_57
		bool "WLAN 3131"

	config FREETZ_TYPE_WLAN_3170
		select FREETZ_AVM_VERSION_04_57
		bool "WLAN 3170"

	config FREETZ_TYPE_WLAN_3270
		select FREETZ_AVM_VERSION_7270_05_05
		bool "WLAN 3270 (v1 and v2 only)"

	config FREETZ_TYPE_WLAN_3270_V3
		select FREETZ_AVM_VERSION_7270_05_05
		bool "WLAN 3270 (v3 only)"

	config FREETZ_TYPE_SPEEDPORT_W501V
		select FREETZ_AVM_VERSION_r7203
		bool "Speedport W501V"

	config FREETZ_TYPE_CUSTOM
		bool "Custom"
		depends on FREETZ_SHOW_ADVANCED
		select FREETZ_DL_OVERRIDE

endchoice # "Hardware type" #

config FREETZ_TYPE_FON_WLAN_7270
	depends on \
		FREETZ_TYPE_FON_WLAN_7270_V1 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	select FREETZ_AVM_VERSION_7270_04_86 if \
		FREETZ_TYPE_FON_WLAN_7270_V1
	select FREETZ_AVM_VERSION_7270_05_05 if \
		(FREETZ_TYPE_FON_WLAN_7270_V2 || FREETZ_TYPE_FON_WLAN_7270_V3)
	bool

choice
	prompt "Firmware language"
		default FREETZ_TYPE_LANG_DE

	config FREETZ_TYPE_LANG_DE
		bool "de - deutsch"
		depends on \
			! FREETZ_TYPE_FON_5010 && \
			! FREETZ_TYPE_FON_5124 && \
			! FREETZ_TYPE_FON_WLAN_7340 && \
			! FREETZ_TYPE_FON_WLAN_7570

	config FREETZ_TYPE_LANG_A_CH
		bool "a-ch - deutsch"
		depends on \
			FREETZ_TYPE_FON_5010 || \
			FREETZ_TYPE_FON_WLAN_7140 || \
			FREETZ_TYPE_FON_WLAN_7170 \

	config FREETZ_TYPE_LANG_EN
		bool "en - international"
		depends on \
			FREETZ_TYPE_FON || \
			FREETZ_TYPE_300IP_AS_FON || \
			FREETZ_TYPE_FON_5124 || \
			FREETZ_TYPE_FON_WLAN || \
			FREETZ_TYPE_FON_WLAN_7113 || \
			FREETZ_TYPE_FON_WLAN_7140 || \
			FREETZ_TYPE_FON_WLAN_7170 || \
			FREETZ_TYPE_FON_WLAN_7270_V2 || \
			FREETZ_TYPE_FON_WLAN_7270_V3 || \
			FREETZ_TYPE_FON_WLAN_7340 || \
			FREETZ_TYPE_FON_WLAN_7390 || \
			FREETZ_TYPE_FON_WLAN_7570 \

endchoice # "Firmware language" #

config FREETZ_TYPE_LANGUAGE
	string
	default "de"		if FREETZ_TYPE_LANG_DE
	default "a-ch"		if FREETZ_TYPE_LANG_A_CH
	default "en"		if FREETZ_TYPE_LANG_EN

config FREETZ_TYPE_LABOR
	bool "Beta/Labor"
	depends on \
		FREETZ_TYPE_LANG_DE && \
		( \
			FREETZ_TYPE_FON_WLAN_7390 || \
			FREETZ_TYPE_FON_WLAN_7270_V2 || \
			FREETZ_TYPE_FON_WLAN_7270_V3 \
		)
	default n
	help
		Enable this to compile the mod based on an AVM "beta/labor" firmware.

choice
	prompt "Labor version"
		depends on FREETZ_TYPE_LABOR
		default FREETZ_TYPE_LABOR_PREVIEW

#	config FREETZ_TYPE_LABOR_DSL
#		bool "DSL"
#		help
#			FRITZ!Lab DSL: This release optimizes the DSL (Digital Subscriber
#			Line) software and adds related graphs.

	config FREETZ_TYPE_LABOR_PREVIEW
		bool "Preview"
		depends on \
			FREETZ_TYPE_FON_WLAN_7390 || \
			FREETZ_TYPE_FON_WLAN_7270_V2 || \
			FREETZ_TYPE_FON_WLAN_7270_V3
		help
			Labor Preview

endchoice # "Labor version" #

config FREETZ_TYPE_ALIEN_HARDWARE
	bool "Compile image for \"alien\" hardware"
	depends on \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7570
	default n
	help
		Enable this to compile the mod image for another hardware type

choice
	prompt "Alien hardware type"
	depends on FREETZ_TYPE_ALIEN_HARDWARE
#	default FREETZ_TYPE_SINUS_W500V_7150 if FREETZ_TYPE_FON_7150
	default FREETZ_TYPE_SPEEDPORT_W701V_7170 if FREETZ_TYPE_FON_WLAN_7170
	default FREETZ_TYPE_7240_7270 if FREETZ_TYPE_FON_WLAN_7270_V2
	default FREETZ_TYPE_72702_72701 if FREETZ_TYPE_FON_WLAN_7270_V1

#	config FREETZ_TYPE_SINUS_W500V_7150
#		bool "Sinus W500V"
#		depends on FREETZ_TYPE_FON_7150
#		select FREETZ_MODULE_jffs2
#		help
#			Enable this to compile a mod image for T-Com Sinus W500V based
#			on a 7150 image.

	config FREETZ_TYPE_SPEEDPORT_W701V_7170
		bool "W701V"
		depends on FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
		select FREETZ_REMOVE_FTPD
		select FREETZ_REMOVE_MEDIASRV
		select FREETZ_REMOVE_PRINTSERV
		select FREETZ_REMOVE_PRINTSERV_MODULE if ! FREETZ_MODULE_usblp
		select FREETZ_REMOVE_SMBD
		help
			Enable this to compile a mod image for T-Com Speedport W701V based
			on a 7170 image.

	config FREETZ_TYPE_SPEEDPORT_W900V_7170
		bool "W900V"
		depends on FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
		help
			Enable this to compile a mod image for T-Com Speedport W900V based
			on a 7170 image.

	config FREETZ_TYPE_SPEEDPORT_W920V_7570
		bool "W920V"
		depends on FREETZ_TYPE_FON_WLAN_7570
		help
			Enable this to compile a mod image for T-Com Speedport W920V based
			on a 7570 image.

	config FREETZ_TYPE_3170_7170
		bool "3170"
		depends on FREETZ_TYPE_FON_WLAN_7170
		select FREETZ_REMOVE_VOIPD
		select FREETZ_REMOVE_VOIP_ISDN
		select FREETZ_REMOVE_CAPIOVERTCP
		help
			Enable this to compile a mod image for FritzBox FON WLAN 3170 based
			on a 7170 image.

	config FREETZ_TYPE_7112_7170
		bool "7112"
		depends on FREETZ_TYPE_FON_WLAN_7170
		select FREETZ_REMOVE_FTPD
		select FREETZ_REMOVE_MEDIASRV
		select FREETZ_REMOVE_PRINTSERV
		select FREETZ_REMOVE_PRINTSERV_MODULE if ! FREETZ_MODULE_usblp
		select FREETZ_REMOVE_SMBD
		help
			Enable this to compile a mod image for FritzBox Fon WLAN 7112 based
			on a 7170 image.

	config FREETZ_TYPE_7113_7170
		bool "7113"
		depends on FREETZ_TYPE_FON_WLAN_7170
		select FREETZ_REMOVE_FTPD
		select FREETZ_REMOVE_MEDIASRV
		select FREETZ_REMOVE_PRINTSERV
		select FREETZ_REMOVE_PRINTSERV_MODULE if ! FREETZ_MODULE_usblp
		select FREETZ_REMOVE_SMBD
		help
			Enable this to compile a mod image for FritzBox Fon WLAN 7113 based
			on a 7170 image.

	config FREETZ_TYPE_7140_7170
		bool "7140"
		depends on FREETZ_TYPE_FON_WLAN_7170
		help
			Enable this to compile a mod image for FritzBox FON WLAN 7140 based
			on a 7170 image.

	config FREETZ_TYPE_7141_7170
		bool "7141"
		depends on FREETZ_TYPE_FON_WLAN_7170
		help
			Enable this to compile a mod image for FritzBox FON WLAN 7141 based
			on a 7170 image.

	config FREETZ_TYPE_7240_7270
		bool "7240"
		depends on FREETZ_TYPE_FON_WLAN_7270_V2 || FREETZ_TYPE_FON_WLAN_7270_V3
		help
			Enable this to compile a mod image for FritzBox FON WLAN 7240 based
			on a 7270 image.

	config FREETZ_TYPE_7270_7270
		bool "7270 v1"
		depends on FREETZ_TYPE_FON_WLAN_7270_V2 && FREETZ_REPLACE_KERNEL_AVAILABLE
		select FREETZ_REPLACE_KERNEL
#		select FREETZ_REMOVE_AVM_VPN
#		select FREETZ_REMOVE_CAPIOVERTCP
#		select FREETZ_REMOVE_NTFS
#		select FREETZ_REMOVE_SMBD
#		select FREETZ_REMOVE_UMTSD
#		select FREETZ_REMOVE_VOIPD
#		select FREETZ_REMOVE_VOIP_ISDN
#		select FREETZ_REMOVE_WEBDAV
		help
			Enable this to compile a mod image for FritzBox FON WLAN 7270 v1 based
			on a 7270 v2 image.

			Caution: To fit into 8MB ROM some AVM components (e.g. telephony) have
			to be removed. Please use usbroot for a full featured image.

	config FREETZ_TYPE_72702_72701
		bool "7270 v2"
		depends on FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_REPLACE_KERNEL_AVAILABLE
		help
			Enable this to compile a mod image for FritzBox FON WLAN 7270 v2 based
			on a 7270 v1 image.

	config FREETZ_TYPE_IAD_3331_7170
		bool "Alice IAD 3331"
		depends on FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
		select FREETZ_REMOVE_PIGLET_V1 if FREETZ_SHOW_ADVANCED
		select FREETZ_ENFORCE_URLADER_SETTINGS
		help
			Enable this to compile a mod image for Alice IAD 3331 based
			on a 7170 image.
			The firmware_version has to be enforced, because this variable is unset
			in the 7170_HN bootloader.
			Initial flashing might only be possible via ./tools/push_firmware

endchoice # "Alien hardware type" #

config FREETZ_AVM_VERSION_STRING
	string
	default "04.30"			if FREETZ_AVM_VERSION_04_30
	default "04.33"			if FREETZ_AVM_VERSION_04_33
	default "04.40"			if FREETZ_AVM_VERSION_04_40
	default "04.49"			if FREETZ_AVM_VERSION_04_49
	default "04.57"			if FREETZ_AVM_VERSION_04_57
	default "04.67"			if FREETZ_AVM_VERSION_04_67
	default "04.70"			if FREETZ_AVM_VERSION_04_70
	default "04.76"			if FREETZ_AVM_VERSION_04_76
	default "04.80"			if FREETZ_AVM_VERSION_04_80
	default "04.87"			if FREETZ_AVM_VERSION_04_87
	default "7270_04.86"		if FREETZ_AVM_VERSION_7270_04_86
	default "7270_05.05"		if FREETZ_AVM_VERSION_7270_05_05
	default "7320_04.86"		if FREETZ_AVM_VERSION_7320_04_86
	default "7390_04.90"		if FREETZ_AVM_VERSION_7390_04_90
	default "7390_05.05"		if FREETZ_AVM_VERSION_7390_05_05
	default "r7203"			if FREETZ_AVM_VERSION_r7203


choice
	prompt "Annex"
		depends on FREETZ_TYPE_LANG_EN && \
			! FREETZ_TYPE_FON_WLAN_7113 && \
			! FREETZ_TYPE_FON_WLAN_7270 && \
			! FREETZ_TYPE_FON_WLAN_7340 && \
			! FREETZ_TYPE_FON_WLAN_7390 && \
			! FREETZ_TYPE_FON_WLAN_7570
		default FREETZ_TYPE_ANNEX_B

	config FREETZ_TYPE_ANNEX_A
		bool "A"

	config FREETZ_TYPE_ANNEX_B
		bool "B"

endchoice # prompt "Annex" #

config FREETZ_TYPE_PREFIX
	string
	default "300ip_as_fon"					if FREETZ_TYPE_300IP_AS_FON
	default "2170"						if FREETZ_TYPE_2170
	default "3020"						if FREETZ_TYPE_WLAN_3020
	default "3030"						if FREETZ_TYPE_WLAN_3030
	default "3130"						if FREETZ_TYPE_WLAN_3130
	default "3131"						if FREETZ_TYPE_WLAN_3131
	default "3170"						if FREETZ_TYPE_WLAN_3170
	default "3270"						if FREETZ_TYPE_WLAN_3270
	default "3270_v3"					if FREETZ_TYPE_WLAN_3270_V3
	default "fon"						if FREETZ_TYPE_FON
	default "5010"						if FREETZ_TYPE_FON_5010
	default "5050"						if FREETZ_TYPE_FON_5050
	default "5124"						if FREETZ_TYPE_FON_5124
	default "5140"						if FREETZ_TYPE_FON_5140
	default "fon_wlan"					if FREETZ_TYPE_FON_WLAN
	default "7050"						if FREETZ_TYPE_FON_WLAN_7050
	default "7112"						if FREETZ_TYPE_FON_WLAN_7112
	default "7113"						if FREETZ_TYPE_FON_WLAN_7113
	default "7140"						if FREETZ_TYPE_FON_WLAN_7140
	default "7141"						if FREETZ_TYPE_FON_WLAN_7141
	default "7150"						if FREETZ_TYPE_FON_7150
	default "7170"						if FREETZ_TYPE_FON_WLAN_7170
	default "7240"						if FREETZ_TYPE_FON_WLAN_7240 && ! FREETZ_TYPE_LABOR
#	default "7240_preview"					if FREETZ_TYPE_FON_WLAN_7240 && FREETZ_TYPE_LABOR_PREVIEW
	default "7270_v1"					if FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_LABOR
#	default "7270_v1_preview"				if FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_TYPE_LABOR_PREVIEW
	default "7270_v2"					if ( ( FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE ) || \
									FREETZ_TYPE_7270_7270 ) && \
									! FREETZ_TYPE_LABOR
	default "7270_v2_preview"				if ( ( FREETZ_TYPE_FON_WLAN_7270_V2 && ! FREETZ_TYPE_ALIEN_HARDWARE ) || \
									FREETZ_TYPE_7270_7270 ) && \
									FREETZ_TYPE_LABOR_PREVIEW
	default "7270_v3"					if ( ( FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE ) || \
									FREETZ_TYPE_7240_7270 ) && \
									! FREETZ_TYPE_LABOR
	default "7270_v3_preview"				if ( ( FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_ALIEN_HARDWARE ) || \
									FREETZ_TYPE_7240_7270 ) && \
									FREETZ_TYPE_LABOR_PREVIEW
	default "7320"						if FREETZ_TYPE_FON_WLAN_7320 && ! FREETZ_TYPE_LABOR
	default "7330"						if FREETZ_TYPE_FON_WLAN_7330
	default "7340"						if FREETZ_TYPE_FON_WLAN_7340
	default "7390"						if FREETZ_TYPE_FON_WLAN_7390 && ! FREETZ_TYPE_LABOR
	default "7390_preview"					if FREETZ_TYPE_FON_WLAN_7390 && FREETZ_TYPE_LABOR_PREVIEW
	default "7570"						if FREETZ_TYPE_FON_WLAN_7570
	default "W501V"						if FREETZ_TYPE_SPEEDPORT_W501V
	default "custom"					if FREETZ_TYPE_CUSTOM

config FREETZ_TYPE_PREFIX_ALIEN_HARDWARE
	string
	default "W500V_"					if FREETZ_TYPE_SINUS_W500V_7150
	default "W701V_"					if FREETZ_TYPE_SPEEDPORT_W701V_7170
	default "W900V_"					if FREETZ_TYPE_SPEEDPORT_W900V_7170
	default "W920V_"					if FREETZ_TYPE_SPEEDPORT_W920V_7570
	default "3170_"						if FREETZ_TYPE_3170_7170
	default "7112_"						if FREETZ_TYPE_7112_7170
	default "7113_"						if FREETZ_TYPE_7113_7170
	default "7140_"						if FREETZ_TYPE_7140_7170
	default "7141_"						if FREETZ_TYPE_7141_7170
	default "7240_"						if FREETZ_TYPE_7240_7270

comment "Custom options -------------------------"
	depends on FREETZ_TYPE_CUSTOM

config FREETZ_INSTALL_BASE
	bool
	select FREETZ_PACKAGE_MOD
	select FREETZ_PACKAGE_HASERL
	select FREETZ_LIB_ld_uClibc
	select FREETZ_LIB_libcrypt
	select FREETZ_LIB_libdl
	select FREETZ_LIB_libgcc_s
	select FREETZ_LIB_libm
	select FREETZ_LIB_libnsl
	select FREETZ_LIB_libpthread
	select FREETZ_LIB_librt
	select FREETZ_LIB_libuClibc
	select FREETZ_LIB_libfreetz if FREETZ_HAS_USB_HOST
	default y
	help
		This is mandatory

config FREETZ_REPLACE_BUSYBOX
	bool
	select FREETZ_BUSYBOX_REALPATH
	default y
	help
		This is mandatory

config FREETZ_SHOW_ADVANCED
	bool "Show advanced options"
	default n
	help
		Show advanced Options for patching the firmware. This is only useful
		for experienced users who really know what they are doing

if FREETZ_SHOW_ADVANCED

comment "Replace kernel (currently not available)"
	depends on ! FREETZ_REPLACE_KERNEL_AVAILABLE

config FREETZ_REPLACE_KERNEL_AVAILABLE
	bool
	depends on \
		! (FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN) && \
		! FREETZ_TYPE_LABOR
	default y

config FREETZ_REPLACE_KERNEL
	bool "Replace kernel"
	depends on FREETZ_REPLACE_KERNEL_AVAILABLE
	select FREETZ_MODULE_fuse if ( \
					FREETZ_AVM_VERSION_7270_04_86 || \
					FREETZ_AVM_VERSION_7270_05_05 || \
					FREETZ_AVM_VERSION_7320_04_86 || \
					FREETZ_AVM_VERSION_7390_04_90 || \
					FREETZ_AVM_VERSION_7390_05_05 \
					)
	select FREETZ_MODULE_jffs2 if FREETZ_AVM_VERSION_7320_04_86
	select FREETZ_MODULE_msdos if FREETZ_AVM_VERSION_7270_05_05
	select FREETZ_MODULE_usbcore if \
		FREETZ_KERNEL_LAYOUT_UR8 && FREETZ_AVM_VERSION_7270_04_86
	select FREETZ_MODULE_vfat if FREETZ_AVM_VERSION_7270_05_05
	default n
	help
		Replace AVM kernel with self-built kernel.

endif # FREETZ_SHOW_ADVANCED #

comment "Hint: Select build toolchain if you want to enable IPv6 support"
	depends on \
		( \
			FREETZ_HAS_AVM_IPV6 || \
			(FREETZ_SHOW_ADVANCED && FREETZ_REPLACE_KERNEL_AVAILABLE) \
		) && \
		(FREETZ_TARGET_UCLIBC_VERSION_0_9_28 && FREETZ_DOWNLOAD_TOOLCHAIN)

config FREETZ_TARGET_IPV6_SUPPORT
	bool "Enable IPv6 support"
	depends on \
		( \
			FREETZ_HAS_AVM_IPV6 || \
			(FREETZ_SHOW_ADVANCED && FREETZ_REPLACE_KERNEL_AVAILABLE) \
		) && \
		! (FREETZ_TARGET_UCLIBC_VERSION_0_9_28 && FREETZ_DOWNLOAD_TOOLCHAIN)
	select FREETZ_REPLACE_KERNEL if ! (FREETZ_HAS_AVM_IPV6)
	select FREETZ_MODULE_ipv6    if ! (FREETZ_HAS_AVM_IPV6) && FREETZ_REPLACE_KERNEL
	select FREETZ_BUSYBOX_IP
	select FREETZ_BUSYBOX_FEATURE_IP_ADDRESS
	select FREETZ_BUSYBOX_FEATURE_IP_LINK
	select FREETZ_BUSYBOX_FEATURE_IP_ROUTE
	select FREETZ_BUSYBOX_FEATURE_IP_TUNNEL
	default n
	help
		Copies the ipv6 kernel module to the firmware and enables ipv6 support
		in uClibc and busybox.
		Shows additional options for busybox and iptables and other packages.
		To use IPv6 with Fritz!Box, at least the kernel, ucLibc and busybox
		have to be recompiled with IPv6 enabled.
		The toolchain will automatically be rebuild to achieve this.
		It is also recommended to include the package iptables/ip6tables for
		firewall settings.

config FREETZ_TARGET_REF_4MB
	bool
	default y			if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170

config FREETZ_TARGET_REF_8MB
	bool
	default y			if \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_FON_WLAN_7112 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		( FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_72702_72701 )

config FREETZ_TARGET_REF_16MB
	bool
	default y			if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		( FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_TYPE_72702_72701 ) || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3

config FREETZ_TARGET_REF
	string "Target ref"		if FREETZ_TYPE_CUSTOM
	default "4mb"			if FREETZ_TARGET_REF_4MB
	default "8mb"			if FREETZ_TARGET_REF_8MB
	default "16mb"			if FREETZ_TARGET_REF_16MB

config FREETZ_KERNEL_REF_4MB
	bool
	default y			if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170

config FREETZ_KERNEL_REF_8MB
	bool
	default y			if \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_FON_WLAN_7112 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		(FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_72702_72701)

config FREETZ_KERNEL_REF_16MB
	bool
	default y			if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		(FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_TYPE_72702_72701) || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3

config FREETZ_KERNEL_REF
	string "Kernel ref"		if FREETZ_TYPE_CUSTOM
	default "4mb"			if FREETZ_KERNEL_REF_4MB
	default "8mb"			if FREETZ_KERNEL_REF_8MB
	default "16mb"			if FREETZ_KERNEL_REF_16MB

config FREETZ_KERNEL_MTD_SIZE
	int "Kernel (64K blocks)"	if FREETZ_TYPE_CUSTOM
	default 119			if \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7112 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		(FREETZ_TYPE_FON_WLAN_7170 && ! FREETZ_TYPE_3170_7170) || \
		(FREETZ_TYPE_FON_WLAN_7270_V1 && ! FREETZ_TYPE_72702_72701) || \
		FREETZ_TYPE_7270_7270
	default 122			if \
		FREETZ_TYPE_FON_WLAN_7570_IAD && ! FREETZ_REPLACE_KERNEL
	default 238 			if \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390
	default 244			if \
		FREETZ_TYPE_FON_WLAN_7570_IAD && FREETZ_REPLACE_KERNEL
	default 246			if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		(FREETZ_TYPE_FON_WLAN_7270_V1 && FREETZ_TYPE_72702_72701) || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		(FREETZ_TYPE_FON_WLAN_7570 && ! FREETZ_TYPE_FON_WLAN_7570_IAD) || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default 59
	help
		Number of 64K blocks in the kernel mtd device.

config FREETZ_HAS_AVM_AURA_USB
	bool "Has remote USB connection (AURA = AVM USB Remote-Architcture)"	if FREETZ_TYPE_CUSTOM
	select FREETZ_REMOVE_AURA_USB if ! FREETZ_HAS_USB_HOST
	default y		if \
		FREETZ_HAS_USB_HOST || \
		FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
		FREETZ_TYPE_7112_7170 || \
		FREETZ_TYPE_7113_7170
	default n
	help
		Select this if your original firmware has an aura-usb-daemon (remote USB
		connection, USB-Fernanschluss)

config FREETZ_HAS_AVM_MINID
	bool "Has mini-daemon (minid)"	if FREETZ_TYPE_CUSTOM
	select FREETZ_REMOVE_MINID if \
		FREETZ_TYPE_7113_7170 || \
		FREETZ_TYPE_7112_7170 || \
		FREETZ_TYPE_3170_7170 || \
		FREETZ_TYPE_SPEEDPORT_W701V_7170
	default y		if \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if your original firmware has a mini-daemon (minid)

config FREETZ_HAS_AVM_NTFS
	bool "Has AVM NTFS"	if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if your original firmware has ntfs support.

config FREETZ_HAS_AVM_IPV6
	bool "Has AVM IPv6"	if FREETZ_TYPE_CUSTOM
	select FREETZ_TARGET_IPV6_SUPPORT
	default y		if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if your original firmware has IPv6 support.

config FREETZ_HAS_AVM_WEBDAV
	bool "Has AVM WebDAV"	if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if your original firmware has WebDAV support.

config FREETZ_HAS_AVM_INETD
	bool "Has AVM inetd"	if FREETZ_TYPE_CUSTOM
	select FREETZ_PACKAGE_INETD
	default y		if \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570
	default n
	help
		Select this if your original firmware has inetd support.

config FREETZ_HAS_AVM_EXT3
	bool "Has AVM ext3 built into the kernel"	if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7390
	default n
	help
		Select this if your original firmware has ext3 support into the kernel.

config FREETZ_HAS_AVM_TR069
	bool "Has AVM tr069"	if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if your original firmware has tr069 support (libtr069, libtr064).

config FREETZ_HAS_CHRONYD
	bool "Has chronyd"	if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570
	default n
	help
		Select this if you have a box with chronyd.

config FREETZ_HAS_DECT
	bool "Has DECT"	if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_SPEEDPORT_W900V_7170
	default n
	help
		Select this if you have a box with DECT.

config FREETZ_HAS_OPENSSL_LIBS
	bool "Has libssl"	if FREETZ_TYPE_CUSTOM
	default n		if \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030
	default y
	help
		Select this if you have a box with AVM libcrypto and libssl.

config FREETZ_HAS_LSOF
	bool "Has lsof"		if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if you have a box with lsof binary.

config FREETZ_HAS_NAS
	bool "Has NAS"		if FREETZ_TYPE_CUSTOM
	select FREETZ_BUSYBOX_TAR_OLDGNU_COMPATIBILITY
	default y		if \
		( \
			FREETZ_TYPE_FON_WLAN_7240 || \
			FREETZ_TYPE_FON_WLAN_7270_V2 || \
			FREETZ_TYPE_FON_WLAN_7270_V3 || \
			FREETZ_TYPE_FON_WLAN_7320 || \
			FREETZ_TYPE_FON_WLAN_7330 || \
			FREETZ_TYPE_FON_WLAN_7340 || \
			FREETZ_TYPE_FON_WLAN_7390 || \
			FREETZ_TYPE_WLAN_3270 || \
			FREETZ_TYPE_WLAN_3270_V3 \
		)
	default n
	help
		Select this if you have a box with NAS support.

config FREETZ_HAS_PHONE
	bool "Has Phone"	if FREETZ_TYPE_CUSTOM
	default n		if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default y
	help
		Select this if you have a box with phone support.

config FREETZ_HAS_STRACE
	bool "Has strace"	if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if you have a box with strace binary.

config FREETZ_HAS_TAM
	bool "Has TAM"		if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570
	default n
	help
		Select this if you have a box with TAM (Telephone Answering Machine) support.

config FREETZ_HAS_UDEV
	bool "udev"		if FREETZ_TYPE_CUSTOM
	default y		if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if you have a box with udev.

config FREETZ_HAS_USB_CLIENT
	bool "USB client"		if FREETZ_TYPE_CUSTOM
	default y				if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170
	default n
	help
		Select this if you have a box with USB.

config FREETZ_HAS_USB_HOST
	bool "USB host"		if FREETZ_TYPE_CUSTOM
	default n		if \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7112 || \
		FREETZ_TYPE_7112_7170 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_7113_7170 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_SINUS_W500V_7150 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V_7170
	default y
	help
		Select this if your USB port is a host adapter.

config FREETZ_HAS_USB_HOST_AVM
	bool "AVM USB host"	if FREETZ_TYPE_CUSTOM
	depends on FREETZ_HAS_USB_HOST
	default y		if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170
	default n
	help
		Select this if you have a box with AVM USB host.

config FREETZ_HAS_AVM_E2FSPROGS
	bool "Has AVM e2fsprogs files"	if FREETZ_TYPE_CUSTOM
	default y		if\
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3
	default n
	help
		Select this if you have a firmware with blkid, fsck and mkfs.

config FREETZ_HAS_WLAN
	bool "Has WLAN"		if FREETZ_TYPE_CUSTOM
	default n		if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_FON_5140
	default y
	help
		Select this if you have a box with WLAN.

comment "Mod ------------------------------------"

choice
	prompt "Freetz Language"
	default FREETZ_LANG_DE		if FREETZ_TYPE_LANG_DE
	default FREETZ_LANG_DE		if FREETZ_TYPE_LANG_A_CH
	default FREETZ_LANG_EN		if FREETZ_TYPE_LANG_EN

	config FREETZ_LANG_DE
		bool "de - deutsch"

	config FREETZ_LANG_EN
		bool "en - english"

endchoice # "Freetz Language" #

config FREETZ_LANG_STRING
	string
	default "de"			if FREETZ_LANG_DE
	default "en"			if FREETZ_LANG_EN

menu "Patches"

# INCLUDE_BEGIN patches/Config.in
comment "Web menu patches -----------------------"

config FREETZ_PATCH_VCC
	bool "Patch 2nd VCC"
	depends on FREETZ_HAS_PHONE && FREETZ_TYPE_LANG_DE
	default n
	help
		Patches the setting for 2nd VCC into web menu. It also adds two additional
		settings (PCR & SCR) not available in the original AVM firmware.

		Please also note that it is not possible to change the value of traffic_class
		setting via the web-interface. You have to do it some other way (e.g. using
		FBEditor or nvi ar7.cfg).

		Warning: Please read up on what each VCC setting means before setting/changing it.
		Besides not working wrong values may cause additional costs for you as your provider
		may treat it as simultaneous dial-in attempts (Doppeleinwahl).

		The correct values for an 1&1-Komplettanschluss are:
		  VPI = 1;
		  VCI = 35;
		  traffic_class = atm_traffic_class_CBR;
		  pcr = 603;
		  scr = 0;

config FREETZ_PATCH_ATA
	bool "Patch ATA"
	depends on \
		FREETZ_TYPE_SPEEDPORT_W501V
	default n
	help
		Patches the ATA mode configuration pages into the web menu.

config FREETZ_PATCH_ENUM
	bool "Patch enum"
	depends on \
		FREETZ_TYPE_LANG_DE && \
		( \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7140 \
		)
	default n
	help
		Patches the enum configuration pages into the web menu.

config FREETZ_PATCH_DSL_EXPERT
	bool
#	bool "Patch extended DSL settings"
	depends on \
		! FREETZ_TYPE_LABOR_DSL && \
		! FREETZ_REMOVE_DSLD && \
		FREETZ_TYPE_LANG_DE && \
		( \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 \
		)
	default n
	help
		Patches the extended dsl-settings from labor-dsl into all-in-one-firmwares.

config FREETZ_ADD_REGEXT_GUI
	bool "Patch GUI to enable external SIP connections"
	depends on \
	FREETZ_TYPE_FON_WLAN_7570 || \
	( \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7390 \
	) && FREETZ_TYPE_LANG_DE
	default n
	help
		Patches the WebUI and add a checkbox to enable setting "reg_from_outside" in the voip.conf.

#config FREETZ_PATCH_INTERNATIONAL
#	bool "Patch international"
#	depends on FREETZ_HAS_PHONE && FREETZ_TYPE_LANG_DE
#	default y
#	help
#		Reveals some options from the international firmware in the web menu.

config FREETZ_PATCH_ALARMCLOCK
	bool "Patch third alarm-clock"
	depends on ( \
		FREETZ_TYPE_FON_WLAN_7150 || \
		FREETZ_TYPE_FON_WLAN_7112 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		(FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE) || \
		FREETZ_TYPE_FON_WLAN_7270_V1 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7570 \
		)
	default n
	help
		Adds a third alarm-clock to AVM-Webinterface

config FREETZ_PATCH_SIGNED
	bool "Patch web menu signed message"
	default n
	help
		Hides the "unsupported changes" message from the web interface.

if FREETZ_HAS_USB_HOST
comment "USB storage patches --------------------"

config FREETZ_PATCH_FREETZMOUNT
	bool "FREETZMOUNT: Patch AVMs hotplug scripts, USB storage names, ..."
	select FREETZ_USBSTORAGE_AUTOMOUNT
	select FREETZ_BUSYBOX_BLKID if FREETZ_REMOVE_AVM_E2FSPROGS || ! FREETZ_HAS_AVM_E2FSPROGS
	select FREETZ_BUSYBOX_BLKID_TYPE if FREETZ_REMOVE_AVM_E2FSPROGS || ! FREETZ_HAS_AVM_E2FSPROGS
	select FREETZ_BUSYBOX_VOLUMEID
	default y
	help
		1. Replaces and deselects usb-storage patch.
		   - The names of USB storage directories can be defined by WebIF (default uStorXY) (or by volume LABEL).
		2. Replaces and deselects autorun.sh/autoend.sh patch.
		   - autorun/autoend behaviour can be activated/deactivated via WebIF.
		   - autorun/autoend are useful to start/terminate applications located on USB devices, eg
		     apache, samba or even swapfiles, after connecting or before disconnecting of USB devices.
		3. Auto-mounted USB storage devices will be fully accessible, eg it is now possible to put
		   user home directories for (e.g. for FTP) on a FAT32-formatted partition and permit shell
		   and FTP users to actually write to their own home directories.
		4. Avoid deleting whole filesystems on USB devices.
		5. Enhanced behaviour during mounting and unmounting.
		6. Provides mount-by-label feature.

		It is highly recommended to select this patch.

config FREETZ_USBSTORAGE_AUTOMOUNT
	bool "Automount filesystems"
	depends on FREETZ_PATCH_FREETZMOUNT
	default y
	help
		The filesystems ext2, ext3, ext4, fat, hfs, hfs+, ntfs and reiserfs and swap are mounted
		automatically. Detection is done by blkid utility . It depends on the original firmware
		which of the following points you have to select.

if FREETZ_USBSTORAGE_AUTOMOUNT
config FREETZ_AUTOMOUNT_EXT2
	bool "ext2"
	select FREETZ_BUSYBOX_VOLUMEID_EXT
	select FREETZ_MODULE_ext2
	default n
	help
		This adds ext2 module to your firmware.

config FREETZ_AUTOMOUNT_EXT3
	bool "ext3"
	select FREETZ_BUSYBOX_VOLUMEID_EXT
	select FREETZ_MODULE_ext3 if ! FREETZ_HAS_AVM_EXT3
	default n
	help
		This adds ext3 module to your firmware.

config FREETZ_AUTOMOUNT_EXT4
	bool "ext4"
	depends on FREETZ_KERNEL_VERSION_2_6_28 || \
		FREETZ_KERNEL_VERSION_2_6_32
	select FREETZ_BUSYBOX_VOLUMEID_EXT
	select FREETZ_MODULE_ext4
	default n
	help
		This adds ext4 module to your firmware.

config FREETZ_AUTOMOUNT_FAT
	bool "fat"
	select FREETZ_BUSYBOX_VOLUMEID_FAT
	default n
	help
		This enables detection of fat partitions.

config FREETZ_AUTOMOUNT_HFS
	bool "HFS"
	select FREETZ_BUSYBOX_VOLUMEID_HFS
	select FREETZ_MODULE_hfs
	default n
	help
		This adds hfs module to your firmware.

config FREETZ_AUTOMOUNT_HFS_PLUS
	bool "HFS+"
	select FREETZ_BUSYBOX_VOLUMEID_HFS
	select FREETZ_MODULE_hfsplus
	default n
	help
		This adds hfs+ module to your firmware.

config FREETZ_AUTOMOUNT_LUKS
	bool "luks"
	select FREETZ_BUSYBOX_VOLUMEID_LUKS
	default n
	help
		This enables detection (not mounting) of luks partitions.

config FREETZ_AUTOMOUNT_NTFS
	bool "NTFS"
	select FREETZ_PACKAGE_NTFS if ! FREETZ_HAS_AVM_NTFS
	select FREETZ_BUSYBOX_VOLUMEID_NTFS
	default n
	help
		This adds ntfs-3g mount helper to your firmware.

config FREETZ_AUTOMOUNT_REISER_FS
	bool "ReiserFS"
	select FREETZ_BUSYBOX_VOLUMEID_REISERFS
	select FREETZ_MODULE_reiserfs
	default n
	help
		This adds reiserfs module to your firmware.

config FREETZ_AUTOMOUNT_LINUXSWAP
	bool "swap"
	select FREETZ_BUSYBOX_VOLUMEID_LINUXSWAP
	default n
	help
		This enables detection of linux-swap partitions.

endif

config FREETZ_PATCH_MAXDEVCOUNT
	bool "Raise the count of connectable usb device to 9"
	default n
	help
		Use this patch if you would connect more than 3 device to the box

config FREETZ_PATCH_MULTIPLE_PRINTERS
	bool "Add support for multiple printers"
	depends on ! FREETZ_REMOVE_PRINTSERV && \
		( \
		( FREETZ_TYPE_FON_WLAN_7140 && ! FREETZ_TYPE_LANG_DE ) || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7270_V1 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3 \
		)
		# no patch available atm: 7140_DE 2070 3070 3050 3130
	default n
	help
		Use this patch if you want to use more than one printer.

endif

comment "Removal patches ------------------------"

config FREETZ_REMOVE_ANNEX_A_FIRMWARE
	bool "Remove Annex A firmware file"
	depends on \
		FREETZ_TYPE_FON_WLAN_7270_V2 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_FON_WLAN_7320
	default n
	help
		Remove lib/modules/dsp_ur8/ur8-A-dsl.bin. This saves about 400 KB of
		uncompressed data size.

config FREETZ_REMOVE_ANNEX_B_FIRMWARE
	bool "Remove Annex B firmware file"
	depends on \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320
	default n
	help
		Remove lib/modules/dsp_ur8/ur8-B-dsl.bin. This saves about 400 KB of
		uncompressed data size.

menu "Remove v1/v2 piglet file(s)"
	depends on FREETZ_SHOW_ADVANCED && \
		( \
			(FREETZ_TYPE_FON_WLAN_7170 && ! FREETZ_TYPE_ALIEN_HARDWARE) || \
			FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
			FREETZ_TYPE_SPEEDPORT_W900V_7170 || \
			FREETZ_TYPE_IAD_3331_7170 \
		)

	config FREETZ_REMOVE_PIGLET_V1
	bool "Remove v1 piglet file(s)"
	help
		The firmware of this model contains double piglet files. Which instance is needed depends
		on the hardware version (v1 or v2) of your box. You can safely remove the
		unneeded instance.

		Hint: If "echo $HWRevision_BitFileCount" returns "1" you could select this patch.


	config FREETZ_REMOVE_PIGLET_V2
	bool "Remove v2 piglet file(s)"
	help
		The firmware of this model contains double piglet files. Which instance is needed depends
		on the hardware version (v1 or v2) of your box. You can safely remove the
		unneeded instance.

		Hint: If "echo $HWRevision_BitFileCount" returns "" (nothing) you could select this patch.

endmenu

comment "WARNING: Both (v1 and v2) piglet files are selected for removal."
	depends on \
		FREETZ_REMOVE_PIGLET_V1 && \
		FREETZ_REMOVE_PIGLET_V2

menu "Remove ISDN/POTS piglet file(s) (EXPERIMENTAL)"
	depends on FREETZ_SHOW_ADVANCED && \
		( \
			FREETZ_TYPE_FON_5113 || \
			FREETZ_TYPE_FON_WLAN_7113 || \
			FREETZ_TYPE_FON_WLAN_7240 || \
			FREETZ_TYPE_FON_WLAN_7340 || \
			FREETZ_TYPE_5113_7170 || \
			FREETZ_TYPE_7113_7170 \
		)

	config FREETZ_REMOVE_PIGLET_ISDN
	bool "Remove ISDN piglet file(s) (EXPERIMENTAL)"
	help
		The firmware of this model contains separate piglet files for ISDN and POTS. Depending
		on your type of fixed line usage you can safely remove the unneeded bitfile(s).

		Hint: If you are using POTS fixed line you could select this patch.


	config FREETZ_REMOVE_PIGLET_POTS
	bool "Remove POTS piglet file(s) (EXPERIMENTAL)"
	help
		The firmware of this model contains separate piglet files for ISDN and POTS. Depending
		on your type of fixed line usage you can safely remove the unneeded bitfile(s).

		Hint: If you are using ISDN fixed line you could select this patch.

endmenu

comment "WARNING: Both (ISDN and POTS) piglet files are selected for removal."
	depends on \
		FREETZ_REMOVE_PIGLET_ISDN && \
		FREETZ_REMOVE_PIGLET_POTS

config FREETZ_REMOVE_ASSISTANT
	bool "Remove assistant"
	default n
	depends on \
	! ( \
		( \
		FREETZ_TYPE_FON_5124 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7170 \
		) \
		&& FREETZ_TYPE_LANG_EN \
	)
	help
		Removes the installation assistant from the web menu.

config FREETZ_REMOVE_AURA_USB
	bool "Remove remote USB connection (AURA = AVM USB Remote-Architcture)" if FREETZ_SHOW_ADVANCED 
	default n
	depends on FREETZ_HAS_AVM_AURA_USB
	help
		Remove the aura-usb-daemon (remote USB connection, USB-Fernanschluss) and some
		related files.

		This patch only removes the files, not the settings in AVM's web interface.

config FREETZ_REMOVE_USB_MODULE
	bool "Remove avalanche_usb.ko" if FREETZ_SHOW_ADVANCED 
	depends on FREETZ_HAS_USB_CLIENT
	default n
	help
		Removes avalanche_usb.ko to save 60kB uncompressed space.

config FREETZ_REMOVE_NAS
	bool "Remove AVM NAS Webinterface"
	default n
	depends on FREETZ_HAS_NAS && FREETZ_TYPE_LANG_DE
	help
		Removes the AVM NAS Webinterface and internal memory file (saves about 390 KB in compressed image).

config FREETZ_REMOVE_AVM_VPN
	bool "Remove AVM vpn" if FREETZ_SHOW_ADVANCED 
	default n
	depends on \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_FON_7150 || \
		(FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE) || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_FON_WLAN_7570 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_WLAN_3270_V3

	help
		Remove AVM's vpn and some other related files
		This patch removes the files and related Web UI entrys, but not the
		vpn settings. This will save about 120kB compressed size.

config FREETZ_REMOVE_WEBSRV
	bool "Remove AVM web server (replaced by httpd)"
	depends on \
		! FREETZ_TYPE_2170 \
		&& ! FREETZ_TYPE_FON_5124 \
		&& ! FREETZ_TYPE_FON_5140 \
		&& ! FREETZ_TYPE_FON_WLAN_7112 \
		&& ! ( FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN ) \
		&& ! ( FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH ) \
		&& ! ( FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN ) \
		&& ! ( FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_EN ) \
		&& ! ( FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN ) \
		&& ! FREETZ_TYPE_FON_WLAN_7141 \
		&& ! FREETZ_TYPE_FON_WLAN_7170 \
		&& ! FREETZ_TYPE_FON_WLAN_7240 \
		&& ! FREETZ_TYPE_FON_WLAN_7270 \
		&& ! FREETZ_TYPE_FON_WLAN_7320 \
		&& ! FREETZ_TYPE_FON_WLAN_7340 \
		&& ! FREETZ_TYPE_FON_WLAN_7390 \
		&& ! FREETZ_TYPE_FON_WLAN_7570 \
		&& ! FREETZ_TYPE_WLAN_3131 \
		&& ! FREETZ_TYPE_WLAN_3170 \
		&& ! FREETZ_TYPE_WLAN_3270 \
		&& ! FREETZ_TYPE_WLAN_3270_V3

	default n
	help
		Patch init scripts so BusyBox's httpd is used instead of AVM's websrv.
		The websrv binary will be removed from the firmware image.

		If "Remove UPnP daemon (igdd/upnpd)" patch is also selected and "Integrate
		Media Server from USB Labor firmware" is not selected, 'libwebsrv.so'
		will also be removed, because only those three binaries use it.

comment "No brandings available to remove"
	depends on \
		FREETZ_TYPE_SPEEDPORT_W501V

menu "Remove brandings"
	depends on \
		! FREETZ_TYPE_SPEEDPORT_W501V

comment "avm and tcom branding can't be removed"
	depends on \
		FREETZ_TYPE_ALIEN_HARDWARE

config FREETZ_REMOVE_BRANDING_1und1
	bool "1&1"
	depends on \
		FREETZ_TYPE_LANG_DE && \
		( \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7112 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7320 || \
		FREETZ_TYPE_FON_WLAN_7330 || \
		FREETZ_TYPE_FON_WLAN_7340 || \
		FREETZ_TYPE_FON_WLAN_7390 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_CUSTOM \
		)
	default n
	help
		1&1 branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_avm
	bool "AVM"
	depends on \
		( \
		FREETZ_TYPE_LANG_A_CH || \
		FREETZ_TYPE_LANG_DE || \
		FREETZ_TYPE_CUSTOM \
		) \
		&& ! FREETZ_TYPE_ALIEN_HARDWARE
	default n
	help
		AVM branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_avme
	bool "AVM international"
	depends on \
		( \
		FREETZ_TYPE_LANG_EN || \
		FREETZ_TYPE_CUSTOM \
		)
	default n
	help
		AVM international branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_DL_KERNEL_SITE
	string "Kernel site"						if	FREETZ_DL_OVERRIDE
	default "ftp.avm.de/develper/opensrc"				if	FREETZ_AVM_VERSION_04_30 || \
										FREETZ_AVM_VERSION_04_33 || \
										FREETZ_AVM_VERSION_04_40 || \
										FREETZ_AVM_VERSION_04_49 || \
										FREETZ_AVM_VERSION_04_57 || \
										FREETZ_AVM_VERSION_04_67 || \
										FREETZ_AVM_VERSION_04_70
	default "@AVM/fritzbox.fon_wlan_7170/x_misc/opensrc"		if	FREETZ_AVM_VERSION_04_76
	default "@AVM/fritzbox.fon_wlan_7170/x_misc/opensrc"		if	FREETZ_AVM_VERSION_04_80
	default "@AVM/fritzbox.fon_wlan_7170/x_misc/opensrc"		if	FREETZ_AVM_VERSION_04_87
	default "@AVM/fritzbox.fon_wlan_7270_v1/x_misc/opensrc"		if	FREETZ_AVM_VERSION_7270_04_86
	default "@AVM/fritzbox.fon_wlan_7270_v3/x_misc/opensrc"		if	FREETZ_AVM_VERSION_7270_05_05
	default "@AVM/fritzbox.fon_wlan_7320/x_misc/opensrc"		if	FREETZ_AVM_VERSION_7320_04_86
	default "http://gpl.back2roots.org/source/fritzbox"		if	FREETZ_AVM_VERSION_7390_04_90
	default "@AVM/fritzbox.fon_wlan_7390/x_misc/opensrc"		if	FREETZ_AVM_VERSION_7390_05_05
	default "@TELEKOM/Speedport/Speedport_W501V"			if	FREETZ_AVM_VERSION_r7203

config FREETZ_DL_KERNEL_SOURCE
	string "Kernel source"					if	FREETZ_DL_OVERRIDE
	default "fritzbox7141-source-files-04.30.tar.bz2"	if	FREETZ_AVM_VERSION_04_30
	default "fritzbox-source-files-04.33.tar.bz2"		if	FREETZ_AVM_VERSION_04_33
	default "fritzbox-source-files.04.40.tar.bz2"		if	FREETZ_AVM_VERSION_04_40
	default "fritzbox-source-files-04.49.tar.gz"		if	FREETZ_AVM_VERSION_04_49
	default "fritzbox-source-files.04.57.tar.gz"		if	FREETZ_AVM_VERSION_04_57
	default "fritzbox-source-files.04.67.tar.gz"		if	FREETZ_AVM_VERSION_04_67
	default "fritzbox-source-files-04.70.tar.gz"		if	FREETZ_AVM_VERSION_04_70
	default "fritzbox7170-source-files-04.76.tar.gz"	if	FREETZ_AVM_VERSION_04_76
	default "fritzbox7170-source-files-04.80.tar.gz"	if	FREETZ_AVM_VERSION_04_80
	default "fritzbox7170-source-files-04.87.tar.gz"	if	FREETZ_AVM_VERSION_04_87
	default "fritzbox7270-source-files-04.86.tar.gz"	if	FREETZ_AVM_VERSION_7270_04_86
	default "fritzbox-source-files-05.05.tar.gz"		if	FREETZ_AVM_VERSION_7270_05_05
	default "fritzbox7320-source-files-04.86.tar.gz"	if	FREETZ_AVM_VERSION_7320_04_86
	default "fritz_box_fon_wlan_7390_source_files.04.91.tar.gz"	if	FREETZ_AVM_VERSION_7390_04_90
	default "fritz_box_fon_wlan_7390_source_files.05.05.tar.gz"	if	FREETZ_AVM_VERSION_7390_05_05
	default "GPL-r7203-4mb_26-tar.bz2"			if	FREETZ_AVM_VERSION_r7203

config FREETZ_DL_KERNEL_SOURCE_MD5
	string "MD5 checksum for downloaded Kernel source file" if	FREETZ_DL_OVERRIDE
	default "1a43eaf94b7989b8cf8e50b2e50c756c"		if	FREETZ_AVM_VERSION_04_30
	default "99b6a701f9cd09319086c8655fced242"		if	FREETZ_AVM_VERSION_04_33
	default "008ecd257e584fc5bbf5e276d4b03ff1"		if	FREETZ_AVM_VERSION_04_40
	default "e6889745b437bde0f5bdb5ada93c913d"		if	FREETZ_AVM_VERSION_04_49
	default "702f4adf12638bfa34a6b10c0ede4b55"		if	FREETZ_AVM_VERSION_04_57
	default "ec2c233bb836e822d9018fd41e123a91"		if	FREETZ_AVM_VERSION_04_67
	default "855d4ad80fc894d9dff52fcaf55d3c12"		if	FREETZ_AVM_VERSION_04_70
	default "4ffc088502c896c11931ba81536fa0e6"		if	FREETZ_AVM_VERSION_04_76
	default "6bf92b81b48a3a05efd3aae6c05fe3e2"		if	FREETZ_AVM_VERSION_04_80
	default "cad33bda041910e2aae01f027465162b"		if	FREETZ_AVM_VERSION_04_87
	default "55a11af7dcfd617c39e75877045ab468"		if	FREETZ_AVM_VERSION_7270_04_86
	default "19280ad861a7e88698d41211996c5ac6"		if	FREETZ_AVM_VERSION_7270_05_05
	default "0e2ddf32808eb329efc4b486c6de0011"		if	FREETZ_AVM_VERSION_7320_04_86
	default "2cad066e0e57aa3e58bf784b396ee676"		if	FREETZ_AVM_VERSION_7390_04_90
	default "fbf515bd77f3d3a64a3095889777cc13"		if	FREETZ_AVM_VERSION_7390_05_05
	default "582c74f0959a687c41c1bcfa599ace9c"		if	FREETZ_AVM_VERSION_r7203

config FREETZ_DL_SITE
	string "Firmware site"						if	FREETZ_DL_OVERRIDE
	depends on ! FREETZ_TYPE_LABOR
	default "@AVM/fritzbox.2170/firmware/deutsch"			if	FREETZ_TYPE_2170
	default "@AVM/fritzbox.fon/firmware/deutsch"			if	(FREETZ_TYPE_300IP_AS_FON || \
											FREETZ_TYPE_FON) && \
											FREETZ_TYPE_LANG_DE
	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
	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
	default "@AVM/fritzbox.fon_5010/firmware/deutsch_a-ch"		if	FREETZ_TYPE_FON_5010
	default "@AVM/fritzbox.fon_5050/firmware"			if	FREETZ_TYPE_FON_5050
	default "@AVM/fritzbox.fon_5124/firmware/english/annex_a"	if	FREETZ_TYPE_FON_5124 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_A
	default "@AVM/fritzbox.fon_5124/firmware/english/annex_b"	if	FREETZ_TYPE_FON_5124 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_B
	default "@AVM/fritzbox.fon_5140/firmware"			if	FREETZ_TYPE_FON_5140
	default "@AVM/fritzbox.fon_wlan/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN && \
											FREETZ_TYPE_LANG_DE
	default "@AVM/fritzbox.fon_wlan/firmware/english/annex_a"	if	FREETZ_TYPE_FON_WLAN && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_A
	default "@AVM/fritzbox.fon_wlan/firmware/english/annex_b"	if	FREETZ_TYPE_FON_WLAN && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_B
	default "@AVM/fritzbox.fon_wlan_7050/firmware"			if	FREETZ_TYPE_FON_WLAN_7050
	default "@AVM/fritzbox.fon_wlan_7112/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7112
	default "@AVM/fritzbox.fon_wlan_7113/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7113 && \
											FREETZ_TYPE_LANG_DE
	default "@AVM/fritzbox.fon_wlan_7113/firmware/english/annex_a" 	if	FREETZ_TYPE_FON_WLAN_7113 && \
											FREETZ_TYPE_LANG_EN
	default "@AVM/fritzbox.fon_wlan_7140/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7140 && \
											FREETZ_TYPE_LANG_DE
	default "@AVM/fritzbox.fon_wlan_7140/firmware/deutsch_a-ch"	if	FREETZ_TYPE_FON_WLAN_7140 && \
											FREETZ_TYPE_LANG_A_CH
	default "@AVM/fritzbox.fon_wlan_7140/firmware/english/annex_a"	if	FREETZ_TYPE_FON_WLAN_7140 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_A
	default "@AVM/fritzbox.fon_wlan_7140/firmware/english/annex_b"	if	FREETZ_TYPE_FON_WLAN_7140 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_B
	default "@AVM/fritzbox.fon_wlan_7141/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7141
	default "@AVM/fritzfon.7150/firmware"				if	FREETZ_TYPE_FON_7150
	default "@AVM/fritzbox.fon_wlan_7170/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7170 && \
											FREETZ_TYPE_LANG_DE
	default "@AVM/fritzbox.fon_wlan_7170/firmware/deutsch_a-ch"	if	FREETZ_TYPE_FON_WLAN_7170 && \
											FREETZ_TYPE_LANG_A_CH
	default "@AVM/fritzbox.fon_wlan_7170/firmware/english/annex_a"	if	FREETZ_TYPE_FON_WLAN_7170 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_A
	default "@AVM/fritzbox.fon_wlan_7170/firmware/english/annex_b"	if	FREETZ_TYPE_FON_WLAN_7170 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_B
	default "@AVM/fritzbox.fon_wlan_7240/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7240
	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
	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
	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
	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
	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
	default "@AVM/fritzbox.fon_wlan_7320/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7320
	default "@AVM/fritzbox.fon_wlan_7330/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7330
	default "@AVM/fritzbox.fon_wlan_7340/firmware/english"		if	FREETZ_TYPE_FON_WLAN_7340
	default "@AVM/fritzbox.fon_wlan_7390/firmware/deutsch"		if	FREETZ_TYPE_FON_WLAN_7390 && \
											FREETZ_TYPE_LANG_DE
	default "@AVM/fritzbox.fon_wlan_7390/firmware/english"		if	FREETZ_TYPE_FON_WLAN_7390 && \
											FREETZ_TYPE_LANG_EN
	default "@AVM/fritzbox.fon_wlan_7570/firmware/english"		if	FREETZ_TYPE_FON_WLAN_7570
	default "@AVM/fritzbox.sl_wlan/firmware"			if	FREETZ_TYPE_WLAN_3020
	default "@AVM/fritzbox.wlan_3030/firmware"			if	FREETZ_TYPE_WLAN_3030
	default "@AVM/fritzbox.wlan_3130/firmware"			if	FREETZ_TYPE_WLAN_3130
	default "@AVM/fritzbox.wlan_3131/firmware/deutsch"		if	FREETZ_TYPE_WLAN_3131
	default "@AVM/fritzbox.wlan_3170/firmware/deutsch"		if	FREETZ_TYPE_WLAN_3170
	default "@AVM/fritzbox.wlan_3270/firmware/deutsch"		if	FREETZ_TYPE_WLAN_3270
	default "@AVM/fritzbox.wlan_3270_v3/firmware/deutsch"		if	FREETZ_TYPE_WLAN_3270_V3
	default "@TELEKOM/Speedport/Speedport_W501V"			if	FREETZ_TYPE_SPEEDPORT_W501V
	default "@AVM/..."						if	FREETZ_TYPE_CUSTOM

config FREETZ_DL_SOURCE
	string "Firmware source"						if	FREETZ_DL_OVERRIDE
	default "FRITZ.Box_2170.51.04.57.image"					if	FREETZ_TYPE_2170
	default "fritz.box_fon.06.04.33.image"					if	(FREETZ_TYPE_300IP_AS_FON || \
											FREETZ_TYPE_FON) && \
											FREETZ_TYPE_LANG_DE
	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
	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
	default "fritz.box_fon_5010.annexa.48.04.43.image"			if	FREETZ_TYPE_FON_5010
	default "fritz.box_fon_5050.12.04.31.image"				if	FREETZ_TYPE_FON_5050
	default "FRITZ.Box_Fon_5124.AnnexA.en.57.04.76.image"			if	FREETZ_TYPE_FON_5124 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_A
	default "FRITZ.Box_Fon_5124.AnnexB.en.56.04.76.image"			if	FREETZ_TYPE_FON_5124 && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_B
	default "FRITZ.Box_Fon_5140.AnnexB.43.04.67.image"			if	FREETZ_TYPE_FON_5140
	default "fritz.box_fon_wlan.08.04.34.image"				if	FREETZ_TYPE_FON_WLAN && \
											FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN.AnnexA.en.08.04.49.image"			if	FREETZ_TYPE_FON_WLAN && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_A
	default "FRITZ.Box_Fon_WLAN.AnnexB.en.08.04.49.image"			if	FREETZ_TYPE_FON_WLAN && \
											FREETZ_TYPE_LANG_EN && \
											FREETZ_TYPE_ANNEX_B
	default "fritz.box_fon_wlan_7050.14.04.33.image"			if	FREETZ_TYPE_FON_WLAN_7050
	default "FRITZ.Box_Fon_WLAN_7112.87.04.87.image"			if	FREETZ_TYPE_FON_WLAN_7112
	default "FRITZ.Box_Fon_WLAN_7113.60.04.68.image"			if	FREETZ_TYPE_FON_WLAN_7113 && \
											FREETZ_TYPE_LANG_DE
	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
	default "fritz.box_fon_wlan_7140.annexb.30.04.33.image"			if	FREETZ_TYPE_FON_WLAN_7140 && \
											FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7140.AnnexA.39.04.76.image"			if	FREETZ_TYPE_FON_WLAN_7140 && \
											FREETZ_TYPE_LANG_A_CH
	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
	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
	default "FRITZ.Box_Fon_WLAN_7141.40.04.76.image"			if	FREETZ_TYPE_FON_WLAN_7141
	default "fritz.fon_7150.annexb.38.04.71.image"				if	FREETZ_TYPE_FON_7150
	default "FRITZ.Box_Fon_WLAN_7170.29.04.87.image"			if	FREETZ_TYPE_FON_WLAN_7170 && \
											FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7170.AnnexA.58.04.76.image"			if	FREETZ_TYPE_FON_WLAN_7170 && \
											FREETZ_TYPE_LANG_A_CH
	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
	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
	default "FRITZ.Box_Fon_WLAN_7240.73.05.05.image"			if	FREETZ_TYPE_FON_WLAN_7240 && \
											! FREETZ_TYPE_LABOR
#	default "Labor_FRITZ.Box_Fon_WLAN_7240.73.05.04-20170.image"		if	FREETZ_TYPE_FON_WLAN_7240 && \
#											FREETZ_TYPE_LABOR_PREVIEW
	default "FRITZ.Box_Fon_WLAN_7270_v1.54.04.88.image"			if	FREETZ_TYPE_FON_WLAN_7270_V1 && \
											! FREETZ_TYPE_LABOR && \
											FREETZ_TYPE_LANG_DE
#	default "Labor_FRITZ.Box_Fon_WLAN_7270_v1.54.04.86-18582.image"		if	FREETZ_TYPE_FON_WLAN_7270_V1 && \
#											FREETZ_TYPE_LABOR_PREVIEW
	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
	default "FRITZ.Box_Fon_WLAN_7270_v2_Labor.54.05.07-20870.image"		if	FREETZ_TYPE_FON_WLAN_7270_V2 && \
											FREETZ_TYPE_LABOR_PREVIEW
	default "FRITZ.Box_Fon_WLAN_7270_16.en-de-es-it-fr.54.05.05.image"	if	( ( FREETZ_TYPE_FON_WLAN_7270_V2 && \
											! FREETZ_TYPE_ALIEN_HARDWARE ) || \
											FREETZ_TYPE_7270_7270 ) && \
											FREETZ_TYPE_LANG_EN
	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
	default "FRITZ.Box_Fon_WLAN_7270_v3.en-de-es-it-fr.74.05.05.image"	if	( ( FREETZ_TYPE_FON_WLAN_7270_V3 && \
											! FREETZ_TYPE_ALIEN_HARDWARE ) || \
											FREETZ_TYPE_7240_7270 ) && \
											FREETZ_TYPE_LANG_EN
	default "FRITZ.Box_Fon_WLAN_7270_v3_Labor.74.05.07-20870.image"		if	( FREETZ_TYPE_FON_WLAN_7270_V3 || \
											( FREETZ_TYPE_FON_WLAN_7270 && \
											FREETZ_TYPE_ALIEN_HARDWARE ) ) && \
											FREETZ_TYPE_LABOR_PREVIEW
	default "FRITZ.Box_Fon_WLAN_7320.100.04.89.image"			if	FREETZ_TYPE_FON_WLAN_7320 && \
											! FREETZ_TYPE_LABOR
	default "FRITZ.Box_7330.107.05.06.image"				if	FREETZ_TYPE_FON_WLAN_7330
	default "FRITZ.Box_Fon_WLAN_7340.en-de-es-it-fr.99.05.05.image"		if	FREETZ_TYPE_FON_WLAN_7340
	default "FRITZ.Box_Fon_WLAN_7390.84.05.05.image"			if	FREETZ_TYPE_FON_WLAN_7390 && \
											! FREETZ_TYPE_LABOR && \
											FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7390.en-de-es-it-fr.84.05.05.image"		if	FREETZ_TYPE_FON_WLAN_7390 && \
											! FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7390_Labor.84.05.07-20869.image"		if	FREETZ_TYPE_FON_WLAN_7390 && \
											FREETZ_TYPE_LABOR_PREVIEW
	default "FRITZ.Box_Fon_WLAN_7570_vDSL.en-de-fr.75.04.91.image"		if	FREETZ_TYPE_FON_WLAN_7570
	default "fritz.box_sl_wlan.09.04.34.image"				if	FREETZ_TYPE_WLAN_3020
	default "fritz.box_wlan_3030.21.04.34.image"				if	FREETZ_TYPE_WLAN_3030
	default "fritz.box_wlan_3130.44.04.34.image"				if	FREETZ_TYPE_WLAN_3130
	default "fritz.box_wlan_3131.50.04.57.image"				if	FREETZ_TYPE_WLAN_3131
	default "fritz.box_wlan_3170.49.04.58.image"				if	FREETZ_TYPE_WLAN_3170
	default "fritz.box_wlan_3270.67.05.05.image"				if	FREETZ_TYPE_WLAN_3270
	default "fritz.box_wlan_3270_v3.96.05.05.image"				if	FREETZ_TYPE_WLAN_3270_V3
	default "fw_Speedport_W501V_v_28.04.38.image"				if	FREETZ_TYPE_SPEEDPORT_W501V
	default "fritz.box..."							if	FREETZ_TYPE_CUSTOM

endmenu # "Toolchain options" #

endmenu # "Advanced options" #

# INCLUDE_END Config.in
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.