summaryrefslogtreecommitdiffstats
path: root/config/Config.in
blob: 8a14a81f7610a55491e801103b0a1f8e6fee9056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
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
#
# config/Config.in: Main menu structure definition
# (c) Robert Schwebel <r.schwebel@pengutronix.de> 2002 
#

mainmenu "Configuration"

config PTXCONF
	bool
	default y
	help
	  This is the Pengutronix Distribution Build System. A better name 
	  for the Projest still has to be found. 

############################################################################## 
comment	"General Options     "
##############################################################################

menu	"Target Options      " 

choice
	prompt "CPU Architecture "
	default ARCH_ARM

	config ARCH_ARM
		bool "ARM"
		help
		  This is support for the ARM processor architecture.

	config ARCH_ARM_NOMMU
		bool "ARM-nommu"
		help
		  This is support for the ARM processor architecture w/o MMU.

	config ARCH_X86
		bool "X86"
		help
		  This is support for the Intel x86 architecture.

	config ARCH_PPC
		bool "PPC"

	config ARCH_SPARC
		bool "SPARC"

	config ARCH_MIPS
		bool "MIPS"

	config ARCH_CRIS
		bool "CRIS"

	config ARCH_PARISC
		bool "PARISC"
endchoice

choice 
	prompt "ARM architecture"
	depends on ARCH_ARM || ARCH_ARM_NOMMU

	config ARM_ARCH_PXA
		bool "pxa (little endian)"
		depends on ARCH_ARM

	config ARM_ARCH_IXP2000
		bool "ixp2000 (big endian)"
		depends on ARCH_ARM

	config ARM_ARCH_NETARM
		bool "net+arm (little endian)"
		depends on ARCH_ARM_NOMMU
		
	config ARM_ARCH_ATMEL
		bool "atmel (little endian)"
		depends on ARCH_ARM_NOMMU

	config ARM_ARCH_EPXA
		bool "Excalibur (little endian)"
		depends on ARCH_ARM
		
endchoice

choice 
	prompt "MIPS architecture"
	depends on ARCH_MIPS

	config MIPS_ARCH_BE
		bool "mips (big endian)"

	config MIPS_ARCH_LE
		bool "mipsel (little endian)"
endchoice

config ARCH
	string
	default "arm"  if ARCH_ARM
	default "i386" if ARCH_X86

choice 
	prompt "ARM architecture"
	depends on ARCH_ARM || ARCH_ARM_NOMMU

	config ARM_ARCH_PXA
		bool "pxa (little endian)"
		depends on ARCH_ARM

	config ARM_ARCH_IXP2000
		bool "ixp2000 (big endian)"
		depends on ARCH_ARM

	config ARM_ARCH_NETARM
		bool "net+arm (little endian)"
		depends on ARCH_ARM_NOMMU
		
	config ARM_ARCH_ATMEL
		bool "atmel (little endian)"
		depends on ARCH_ARM_NOMMU
endchoice

choice 
	prompt "MIPS architecture"
	depends on ARCH_MIPS

	config MIPS_ARCH_BE
		bool "mips (big endian)"

	config MIPS_ARCH_LE
		bool "mipsel (little endian)"
endchoice

choice
	prompt "Code Optimization"

	config OPT_ARM
		bool "generic arm"
		depends on ARCH_ARM
	config OPT_ARM_NOMMU
		bool "generic arm (w/o MMU)"
		depends on ARCH_ARM_NOMMU

	config OPT_I386
		bool "386"
		depends on ARCH_X86
	config OPT_I486
		bool "486"
		depends on ARCH_X86
	config OPT_I586
		bool "586"
		depends on ARCH_X86
	config OPT_I686
		bool "686"
		depends on ARCH_X86

	config OPT_PPC
		bool "generic PPC"
		depends on ARCH_PPC
	config OPT_PPC405
		bool "PPC 405"
		depends on ARCH_PPC
	config OPT_PPC750
		bool "PPC 750"
		depends on ARCH_PPC
	config OPT_PPC7450
		bool "PPC 7450"
		depends on ARCH_PPC

	config OPT_SPARC
		bool "generic sparc"
		depends on ARCH_SPARC

	config OPT_MIPS
		bool "generic mips (big endian)"
		depends on MIPS_ARCH_BE
	config OPT_MIPSEL
		bool "generic mipsel (little endian)"
		depends on MIPS_ARCH_LE

	config OPT_CRIS
		bool "generic cris"
		depends on ARCH_CRIS

	config OPT_PARISC
		bool "generic parisc"
		depends on ARCH_PARISC
endchoice

comment "---"

config TARGET_EXTRA_CFLAGS
	string
	prompt "Extra CFLAGS (c)"

config TARGET_EXTRA_CXXFLAGS
	string
	prompt "Extra CXXFLAGS (c++)"

config TARGET_CONFIG_FILE
	string
	prompt "Name of architecture config file in $PTXDIST/config/arch"
	default "arm.dat"		if ARCH_ARM
	default "ix86.dat"		if ARCH_X86
	default "powerpc.dat"		if OPT_PPC
	default "powerpc-405.dat"	if OPT_PPC405
	default "powerpc-750.dat"	if OPT_PPC750
	default "powerpc-7450.dat"	if OPT_PPC7450
	default "sparc.dat"		if ARCH_SPARC
	default "mips.dat"		if MIPS_ARCH_BE
	default "mipsel.dat"		if MIPS_ARCH_LE
	default "cris.dat"		if ARCH_CRIS
	default "hppa.dat"		if ARCH_PARISC

comment "---"

config ARCH_NOMMU
	bool
	default y if ARCH_ARM_NOMMU

config ARCH
	string
	default "arm"			if ARCH_ARM
	default "armnommu"		if ARCH_ARM_NOMMU
	default "i386"			if ARCH_X86
	default "ppc"			if ARCH_PPC
	default "sparc"			if ARCH_SPARC
	default "mips"			if ARCH_MIPS
	default "mips"			if ARCH_MIPSEL
	default "cris"			if ARCH_CRIS
	default "parisc"		if ARCH_PARISC

config ARCH_USERSPACE
	string
	default "arm"			if ARCH_ARM
	default "arm"			if ARCH_ARM_NOMMU
	default "i386"			if ARCH_X86
	default "powerpc"		if ARCH_PPC
	default "sparc"			if ARCH_SPARC
	default "mips"			if ARCH_MIPS
	default "mips"			if ARCH_MIPSEL
	default "cris"			if ARCH_CRIS
	default "hppa"			if ARCH_PARISC

config ARM_PROC
	string
	default "armv" if ARCH_ARM || ARCH_ARM_NOMMU

config ARM_ARCH
	string
	default "pxa"			if ARM_ARCH_PXA
	default "netarm"		if ARM_ARCH_NETARM
	default "atmel"			if ARM_ARCH_ATMEL
	default "ixp2000"		if ARM_ARCH_IXP2000

config GNU_TARGET
	string
	default "arm-linux" 			if ARM_ARCH_PXA		&& GLIBC
	default "armb-unknown-linux-gnu" 	if ARM_ARCH_IXP2000	&& GLIBC
	default "arm-elf"			if ARCH_ARM_NOMMU	&& GLIBC
	default "i386-linux"			if OPT_I386		&& GLIBC
	default "i486-linux"			if OPT_I486		&& GLIBC
	default "i586-linux"			if OPT_I586		&& GLIBC
	default "i686-linux"			if OPT_I686		&& GLIBC
	default "powerpc-linux"			if OPT_PPC		&& GLIBC
	default "powerpc-405-linux-gnu"		if OPT_PPC405		&& GLIBC
	default "powerpc-750-linux-gnu"		if OPT_PPC750		&& GLIBC
	default "powerpc-7450-linux-gnu"	if OPT_PPC4750		&& GLIBC
	default "sparc-linux"			if OPT_SPARC		&& GLIBC
	default "mips-linux"			if MIPS_ARCH_BE		&& GLIBC
	default "mipsel-linux"			if MIPS_ARCH_LE		&& GLIBC
	default "cris-linux"			if ARCH_CRIS		&& GLIBC
	default "hppa-linux"			if ARCH_PARISC		&& GLIBC

	default "arm-uclibc-linux-gnu" 		if ARM_ARCH_PXA		&& UCLIBC
	default "armb-uclibc-linux-gnu"		if ARM_ARCH_IXP2000	&& UCLIBC
	default "arm-elf"			if ARCH_ARM_NOMMU	&& UCLIBC
	default "i386-uclibc-linux-gnu"		if OPT_I386		&& UCLIBC
	default "i486-uclibc-linux-gnu"		if OPT_I486		&& UCLIBC
	default "i586-uclibc-linux-gnu"		if OPT_I586		&& UCLIBC
	default "i686-uclibc-linux-gnu"		if OPT_I686		&& UCLIBC
	default "powerpc-uclibc-linux-gnu"	if OPT_PPC		&& UCLIBC
	default "powerpc-405_uclibc-linux-gnu"	if OPT_PPC405		&& UCLIBC
	default "powerpc-750_uclibc-linux-gnu"	if OPT_PPC750		&& UCLIBC
	default "powerpc-7450_uclibc-linux-gnu"	if OPT_PPC7450		&& UCLIBC
	default "sparc-uclibc-linux-gnu"	if OPT_SPARC		&& UCLIBC
	default "mips-uclibc-linux-gnu"		if MIPS_ARCH_BE		&& UCLIBC
	default "mipsel-uclibc-linux-gnu"	if MIPS_ARCH_LE		&& UCLIBC
	default "cris-uclibc-linux-gnu"		if ARCH_CRIS		&& UCLIBC
	default "hppa-uclibc-linux-gnu"		if ARCH_PARISC		&& UCLIBC

config PREFIX
	prompt "Prefix for development envirionment"
	string
	default "/tmp/ptxdist-local"

config ROOT
	prompt "Prefix for root filesystem"
	string

endmenu

# ----------------------------------------------------------------------------

menu 	"Cross Toolchain     "

config BUILD_CROSSCHAIN
	bool
	prompt "Build Cross Toolchain"
	default y

choice
	prompt "GCC (GNU Compiler Collection) Version"
		default GCC_3_2_3 if ARCH_X86
		depends on BUILD_CROSSCHAIN

	config GCC_2_95_3
		bool
		prompt "2.95.3"
		depends on ARCH_X86 || ARCH_ARM || ARCH_ARM_NOMMU

	config GCC_3_2_3
		bool
		prompt "3.2.3"
		depends on ARCH_X86 || ARCH_SPARC || ARCH_MIPS || ARCH_CRIS || ARCH_PARISC || ARCH_PPC
endchoice

config NASM
	bool
	prompt "x86 NASM"
	depends on ARCH_X86

endmenu

# ----------------------------------------------------------------------------

menu	"Root Filesystem     "

config ROOTFS_PROC
	bool
	prompt "Create /proc"
	default y 

config ROOTFS_DEV
	bool
	prompt "Create /dev"
	default y

config ROOTFS_MNT
	bool
	prompt "Create /mnt"
	default y

config ROOTFS_FLOPPY
	bool
	prompt "Create /floppy"
	default y

config ROOTFS_TMP
	bool
	prompt "Create /tmp"
	default y

config ROOTFS_HOME
	bool
	prompt "Create /home"
	default y

config ROOTFS_VAR
	bool
	prompt "Create /var"
	default y

config VENDORTWEAKS
	string
	prompt "Run vendor Makefile at the end of build"
	help
	  At the end of the build the target vendor-tweaks.targetinstall
	  is run from the Makefile you specify here. The name you give
	  here is searched in rules/vendor-tweaks; this is normally a 
	  *.make file.  

endmenu

# ----------------------------------------------------------------------------

menu	"Debugging Tools     "

# gdb
source "rules/gdb.in"

config KSYMOOPS
	bool
	prompt "ksymoops"
	default n

config LIBBFD
	bool
	prompt "libbfd on target (needed for profiling)"
	default n

config LTT
	bool
	prompt "Linux Trace Toolkit (LTT)"
	default n

config OPROFILE
	bool
	prompt "oprofile"
	default n
	depends on POPT && LIBBFD

config STRACE
	bool
	prompt "strace"
	default n

endmenu


##############################################################################
comment	"Core System         "
##############################################################################

menu	"Kernel              "

config DONT_COMPILE_KERNEL
	bool
	prompt "Don't compile kernel"
	default n

config KERNEL_CONFIG
	string
	default "kernel-2.4."
	prompt "Name of config in $PTXDIST/config/kernel to be used"

choice 
	prompt "Kernel Version"
		default KERNEL_2_4_19
	
	config KERNEL_2_4_18
		bool
		prompt "2.4.18"
		depends on !ARCH_ARM_NOMMU

	config KERNEL_2_4_19
		bool
		prompt "2.4.19"
		depends on !ARCH_ARM_NOMMU

	config KERNEL_2_4_20
		bool
		prompt "2.4.20"
		depends on ARCH_SPARC || ARCH_X86 || ARCH_MIPS || ARCH_CRIS || ARCH_PPC
		depends on !ARCH_ARM_NOMMU

	config KERNEL_2_4_21
		bool
		prompt "2.4.21"
		depends on ARCH_SPARC || ARCH_X86 || ARCH_MIPS || ARCH_CRIS || ARCH_PPC || ARCH_ARM_NOMMU

	config KERNEL_2_4_22
		bool
		prompt "2.4.22"
		depends on ARCH_SPARC || ARCH_X86 || ARCH_MIPS || ARCH_CRIS || ARCH_PPC
endchoice

config KERNEL_XSCALE
	bool
	prompt "Use XScale patch (rmkX-pxaY)"
	default n
	depends on ARCH_ARM

config KERNEL_XSCALE_PTX
	bool
	prompt "Use Pengutronix XScale patch (rmkX-pxaY-ptxZ)"
	default n
	depends on ARCH_ARM

config KERNEL_MTD
	bool
	prompt "Use mtd-20030301-1 snapshot"
	default n

config KERNEL_INSTALL
	bool
	prompt "Install kernel into /boot on target"
	default n
	depends on !DONT_COMPILE_KERNEL

choice
	prompt "Kernel Image"
	default KERNEL_IMAGE_BZ
	depends on !DONT_COMPILE_KERNEL

	config KERNEL_IMAGE_BZ
		bool
		prompt "bzImage"
		depends on ARCH_X86
		
	config KERNEL_IMAGE_Z
		bool
		prompt "zImage"
		depends on ARCH_X86

	config KERNEL_IMAGE_U
		bool
		prompt "uImage"
		depends on ARCH_ARM

	config KERNEL_IMAGE_VMLINUX
		bool
		prompt "vmlinux"
endchoice

config RTAI
	bool
	prompt "Realtime Extension: RTAI"
	depends on KERNEL_2_4_21 || KERNEL_2_4_20 || KERNEL_2_4_19 || KERNEL_2_4_18
	default n

choice
	prompt "RTAI Version"
	depends on RTAI
	default RTAI_24_1_10

	config RTAI_24_1_9
		bool
		prompt "24.1.9 "

	config RTAI_24_1_10
		bool
		prompt "24.1.10"

	config RTAI_24_1_11
		bool
		prompt "24.1.11"
endchoice

choice
	prompt "RTAI Technology"
	depends on RTAI
	default RTAI_ALLSOFT

	config RTAI_RTHAL
		bool
		prompt "rthal"

	config RTAI_ALLSOFT
		bool
		prompt "allsoft"
endchoice

#
# FIXME: add this if we have the 2.4 configuration in kconfig format
# 
#config KERNEL
#	bool
#	prompt "Compile Kernel"
#
#source "config/kernel/Config.in"
	
endmenu

# ----------------------------------------------------------------------------

menu	"C Library           "

source "rules/libc.in"

endmenu
# ============================================================================
comment "Core Tools"
# ============================================================================

menu	"Pdksh               "

config PDKSH
	bool
	prompt "Pdksh"

config PDKSH_SHLIKE
	bool	
	prompt "Enable minimal sh like configuration"
	depends on PDKSH

config PDKSH_POSIX
	bool	
	prompt "Enable POSIX behaviour"
	depends on PDKSH

config PDKSH_EMACS
	bool	
	prompt "Enable emacs style line editing"
	depends on PDKSH

config PDKSH_VI
	bool	
	prompt "Enable vi style line editing"
	depends on PDKSH

config PDKSH_CMDHISTORY
	bool
	prompt "Turn on command history"
	depends on PDKSH

config PDKSH_JOBS
	bool
	prompt "Enable job control features"
	depends on PDKSH

config PDKSH_BRACE_EXPAND
	bool
	prompt "Enable ksh brace expansion"
	depends on PDKSH

endmenu

menu	"Bash                "

config BASH
	bool
	prompt "Bash"

config BASH_SHLIKE
	bool	
	prompt "Enable minimal sh like configuration"
	depends on BASH

config BASH_ALIASES
	bool
	prompt "Enable aliases"
	depends on BASH

#config BASH_ARITHMETIC_FOR
#	bool
#	prompt "Enable arithmetic for command"
#	depends on BASH
#	help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"
        
config BASH_ARRAY
	bool
	prompt "Include shell array variables"
	depends on BASH

config BASH_HISTORY
        bool
	prompt "Turn on csh-style history substitution"
	depends on BASH

config BASH_BRACE
	bool
	prompt "Include brace expansion"
	depends on BASH

#config BASH_CONDITIONAL
#	bool
#	prompt "Enable the conditional command"
#	depends on BASH
#	help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"

config BASH_DIRSTACK
	bool
	prompt "Enable builtins pushd/popd/dirs"
	depends on BASH

#config BASH_EXTPATTERN
#	bool
#	prompt "Include ksh-style extended pattern matching"
#	depends on BASH
#	help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"

config BASH_HELP
	bool
	prompt "Include the help builtin"
	depends on BASH

config BASH_CMDHISTORY
	bool
	prompt "Turn on command history"
	depends on BASH

config BASH_JOBS
	bool
	prompt "Enable job control features"
	depends on BASH

config BASH_LARGEFILES
	bool
	prompt "Enable support for large files"
	depends on BASH

config BASH_PROCSUBST
        bool 
	prompt "Enable process substitution"
	depends on BASH

config BASH_COMPLETION
	bool 
	prompt "Enable programmable completion"
	depends on BASH

config BASH_ESC
	bool
	prompt "Turn on escape character decoding in prompts"
	depends on BASH

config BASH_EDIT
	bool
	prompt "Turn on command line editing"
	depends on BASH

config BASH_RESTRICTED
	bool
	prompt "Enable a restricted shell"
	depends on BASH

config BASH_SELECT
	bool
	prompt "Include select command"
	depends on BASH

config BASH_GPROF
	bool
	prompt "Allow profiling with gprof"
	depends on BASH

config BASH_STATIC
	bool
	prompt "Link bash statically"
	depends on BASH

endmenu

# ----------------------------------------------------------------------------

menu	"BusyBox             "

config BUSYBOX
	bool
	prompt "Compile Busybox"

source "config/busybox-1.0.0-pre3/sysdeps/linux/Config.in"

endmenu

# ----------------------------------------------------------------------------

#menu	"TinyLogin           "

#config TINYLOGIN
#	bool
#	prompt "Compile Tinylogin"
#endmenu

# ----------------------------------------------------------------------------

menu	"MTD Tools           "

config MTD_UTILS
	bool
	prompt "Compile MTD Utilities"

config MTD_EINFO
	bool
	prompt "einfo"
	depends on MTD_UTILS

config MTD_ERASE
	bool
	prompt "erase"
	depends on MTD_UTILS

config MTD_ERASEALL
	bool
	prompt "eraseall"
	depends on MTD_UTILS

config MTD_FCP
	bool
	prompt "fcp"
	depends on MTD_UTILS

config MTD_FTL_CHECK
	bool
	prompt "ftl_check"
	depends on MTD_UTILS

config MTD_FTL_FORMAT
	bool
	prompt "ftl_format"
	depends on MTD_UTILS

config MTD_JFFS2READER
	bool
	prompt "jffs2reader"
	depends on MTD_UTILS

config MTD_LOCK
	bool
	prompt "lock"
	depends on MTD_UTILS

config MTD_MTDDEBUG
	bool
	prompt "mtd_debug"
	depends on MTD_UTILS

config MTD_NANDDUMP
	bool
	prompt "nanddump"
	depends on MTD_UTILS

config MTD_NANDTEST
	bool
	prompt "nandtest"
	depends on MTD_UTILS

config MTD_NANDWRITE
	bool
	prompt "nandwrite"
	depends on MTD_UTILS

config MTD_NFTL_FORMAT
	bool
	prompt "nftl_format"
	depends on MTD_UTILS

config MTD_NFTLDUMP
	bool
	prompt "nftldump"
	depends on MTD_UTILS

config MTD_UNLOCK
	bool
	prompt "unlock"
	depends on MTD_UTILS

config MTD_MKJFFS
	bool
	prompt "mkfs.jffs"
	depends on MTD_UTILS && ZLIB

config MTD_MKJFFS2
	bool
	prompt "mkfs.jffs2"
	depends on MTD_UTILS && ZLIB

endmenu

# ----------------------------------------------------------------------------

source "rules/coreutils.in"

source "rules/util-linux.in"

source "rules/vhll.in"

source "rules/pcmcia-cs.in"

##############################################################################
comment "Network Tools"
##############################################################################

menu	"ppp                 "

config PPP
	bool
	prompt "Compile ppp"

config PPP_MS_CHAP
	bool
	prompt "support Micro$oft's MS-CHAP authentication protocol"
	depends on PPP

config PPP_SHADOW
	bool
	prompt "ppp server: support for shadow passwords"
	depends on PPP

config PPP_PLUGINS
	bool
	prompt "support plugins"
	depends on PPP

config PPP_IPX
	bool
	prompt "support IPX protocol"
	depends on PPP

config PPP_MULTILINK
	bool
	prompt "support multilink"
	depends on PPP

endmenu

# ----------------------------------------------------------------------------

menu	"udhcp               "

config UDHCP
	bool
	prompt "udhcp"

config UDHCP_C
	bool
	prompt "Compile udhcp client (udhcpc)"
	depends on UDHCP

config UDHCP_D
	bool
        prompt "Compile udhcp daemon (udhcpd)"
	depends on UDHCP

config UDHCP_DUMPLEASES
	bool
	prompt "Compile dumpleases"
	depends on UDHCP

endmenu

# ----------------------------------------------------------------------------

menu	"utelnetd            "

config UTELNETD
	bool
	prompt "Compile utelnetd"

endmenu

# ----------------------------------------------------------------------------

menu	"inetutils           "

config INETUTILS
	bool
	prompt "Compile inetutils"

source rules/inetutils.in
endmenu

# ----------------------------------------------------------------------------

menu 	"Network Security    "

config SHOREWALL
	bool
	prompt "shorewall firewall scripts"

config LSH
	bool
	prompt "LSH"

config LSH_EXECUV
	bool
	prompt "Install lsh-execuf"
	depends on LSH

config LSH_PROXY
	bool
	prompt "Install lsh_proxy"
	depends on LSH

config LSH_LSHD
	bool
	prompt "Install lshd"
	depends on LSH

config LSH_SFTPD
	bool
	prompt  "Install sftp-server"
	depends on LSH

config LSH_MAKESEED
	bool
	prompt "Install lsh-make-seed"
	depends on LSH

config LSH_KEYGEN 
	bool
	prompt "Install lsh-keygen"
	depends on LSH

config LSH_WRITEKEY
        bool
	prompt "Install lsh-writekey"
	depends on LSH

config OPENSSH
	bool
	prompt "OpenSSH"

# ----------------------------------------------------------------------------

source "rules/dropbear.in"

# ----------------------------------------------------------------------------

endmenu

# ----------------------------------------------------------------------------

menu	"proftpd             "

config PROFTPD
	bool
	prompt "proftpd"

config PROFTPD_PAM
	bool
	prompt "PAM support"
	depends on PROFTPD

config PROFTPD_SENDFILE
	bool
	prompt "sendfile support"
	depends on PROFTPD
	
config PROFTPD_SHADOW
	bool
	prompt "shadow support"
	depends on PROFTPD

config PROFTPD_AUTOSHADOW
	bool
	prompt "autoshadow support"
	depends on PROFTPD_SHADOW

endmenu

# ----------------------------------------------------------------------------

menu	"nfs-utils           "

config	NFSUTILS
	bool
	prompt "Compile nfs-utils"

config	NFSUTILS_V3
	bool
	prompt "Enable support for NFSv3"
	depends on NFSUTILS

config	NFSUTILS_SECURE_STATD
	bool
	prompt "Only lockd can use statd (security)"
	depends on NFSUTILS

config	NFSUTILS_RQUOTAD
	bool
	prompt "Enable rquotad"
	depends on NFSUTILS	

config	NFSUTILS_INSTALL_CLIENTSCRIPT
	bool
	prompt "Install /etc/init.d/nfs-client"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_FUNCTIONSSCRIPT
	bool
	prompt "Install /etc/init.d/nfs-functions"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_SERVERSCRIPT
	bool
	prompt "Install /etc/init.d/nfs-server"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_EXPORTFS
	bool
	prompt "Install /sbin/exportfs"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_LOCKD
	bool
	prompt "Install /sbin/lockd"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_MOUNTD
	bool
	prompt "Install /sbin/mountd"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_NFSD
	bool
	prompt "Install /sbin/nfsd"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_NFSSTAT
	bool
	prompt "Install /sbin/nfsstat"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_NHFSGRAPH
	bool
	prompt "Install /sbin/nhfsgraph"
	depends on NFSUTILS

config  NFSUTILS_INSTALL_NHFSNUMS
        bool
        prompt "Install /sbin/nhfsnums"
        depends on NFSUTILS

config  NFSUTILS_INSTALL_NHFSRUN
        bool
        prompt "Install /sbin/nhfsrun"
        depends on NFSUTILS

config  NFSUTILS_INSTALL_NHFSSTONE
        bool
        prompt "Install /sbin/nhfsstone"
        depends on NFSUTILS

config  NFSUTILS_INSTALL_SHOWMOUNT
        bool
        prompt "Install /sbin/showmount"
        depends on NFSUTILS

config  NFSUTILS_INSTALL_STATD
        bool
        prompt "Install /sbin/showmount"
        depends on NFSUTILS

endmenu

# ----------------------------------------------------------------------------

menu	"Portmapper          "

config	PORTMAP
	bool
	prompt "Compile Portmapper"
	
config	PORTMAP_INSTALL_PORTMAPPER
	bool
	prompt "Install /sbin/portmap"
	depends on PORTMAP

endmenu

# ----------------------------------------------------------------------------
menu	"tcpwrapper          "

config	TCPWRAPPER
	bool
	prompt "Compile tcpwrapper"
	
config	TCPWRAPPER_INSTALL_TCPD
	bool
	prompt "Install /usr/sbin/tcpd"
	depends on TCPWRAPPER

endmenu

# ----------------------------------------------------------------------------

source "rules/wireless.in"

# ----------------------------------------------------------------------------

source "rules/zebra.in"

# ----------------------------------------------------------------------------

source "rules/libnet.in"

# ----------------------------------------------------------------------------

source "rules/libpcap.in"

# ----------------------------------------------------------------------------

############################################################################## 
comment	"Disk and file       "
##############################################################################

menu	"Disk and file utils "

config E2FSPROGS
	bool
	prompt "e2fsprogs"
	
config E2FSPROGS_MKFS
	bool
	prompt "Install mke2fs"
	depends on E2FSPROGS

config E2FSPROGS_E2FSCK
	bool
	prompt "Install e2fsck"
	depends on E2FSPROGS

config CRAMFS
	bool
	prompt "cramfs tools"

config GRUB
	bool
	prompt "GRUB"
	depends on ARCH_X86

config GRUB_MD5
	bool
	prompt "md5 passwords"
	depends on GRUB

config GRUB_FFS
	bool
	prompt "ffs      filesystem"
	depends on GRUB

config GRUB_MINIXFS
	bool
	prompt "minix    filesystem"
	depends on GRUB

config GRUB_REISERFS
	bool
	prompt "reiser   filesystem"
	depends on GRUB

config GRUB_VSTAFS
	bool
	prompt "vstafs   filesystem"
	depends on GRUB

config GRUB_JFS
	bool
	prompt "jfs      filesystem"
	depends on GRUB

config GRUB_XFS
	bool
	prompt "xfs      filesystem"
	depends on GRUB

config GRUB_CS89X0
	bool
	prompt "cs89x0   network driver"
	depends on GRUB

config GRUB_BOOTDISK
	bool 
	prompt "make bootdisk in $PTXDIST/bootdisk"
	depends on GRUB

config LILO
	bool "LILO"
	depends on ARCH_X86

config PTXFLASH
	bool
	prompt "Install ptxflash utility"

source rules/genext2fs.in
endmenu



############################################################################## 
comment	"Applications        "
##############################################################################

menu	"Flash               "

config FLASH
	bool
	prompt "flash"
	
endmenu

# -----

menu	"Kaffe               "

config KAFFE
	bool
	prompt "Compile Kaffe"

comment	"Target Options"
	depends on KAFFE

	choice
		prompt "Engine"
		default KAFFE_ENG_JIT3
		depends on KAFFE

		config KAFFE_ENG_INTRP
			bool Interpreter

		config KAFFE_ENG_JIT
			bool JIT
			depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS

		config KAFFE_ENG_JIT3
			bool JITv3
			depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS
	endchoice

	choice
		prompt "Threading System"
		default	KAFFE_THREAD_J
		depends on KAFFE

		config KAFFE_THREAD_P
			bool unix-pthreads

		config KAFFE_THREAD_J
			bool unix-jthreads
	endchoice
	
	choice
		prompt "API"
		default KAFFE_API_SE
		depends on KAFFE

		config KAFFE_API_CLDC
			bool CLDC

		config KAFFE_API_SE
			bool J2SE
	endchoice

	config KAFFE_ENABLE_JIKES
		bool
		default n
		prompt "Use Jikes or other Java compiler"
		depends on KAFFE_API_SE
		depends on KAFFE

	config KAFFE_JIKES
		string
		default "jikes" if KAFFE_API_SE
		default "javac" if KAFFE_API_CLDC
		prompt "java compiler (see help)"
		depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC
		depends on KAFFE
		help
			The compiler must be in the $PATH or an absoloute path to the compiler must be supplied.
			If compiling the CLDC API jikes is not working, please use Sun's javac.

	config KAFFE_JIKES_WO_DEBUG
		bool
		default n
		prompt "Compile Java Class Libs without debugging symbols (see help)"
		depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC
		depends on KAFFE
		help
			Works only with Sun's javac.
############################################################################# 
comment	"Debugging Options"
	depends on KAFFE

	config KAFFE_DEB_DEB
		bool
		default n
		prompt "Enable run-time debugging machinery"
		depends on KAFFE

	config KAFFE_DEB_X
		bool
		default n
		prompt "Enable debugging symbol generation for jitted code (xdebugging)"
		depends on KAFFE

	config KAFFE_DEB_PROFILING
		bool
		default n
		prompt "Compile with gprof(1) profiling support"
		depends on KAFFE

	config KAFFE_DEB_XPROFILING
		bool
		default n
		prompt "Enable profiling for C and jitted code (xprofiling)"
		depends on KAFFE

	config KAFFE_DEB_STATS
		bool
		default n
		prompt "Gather statistics on vm execution"
		depends on KAFFE
############################################################################## 
comment	"Features"
	depends on KAFFE

	config KAFFE_FEAT_GCJ
		bool
		default n
		prompt "Enable GCJ support"
		depends on KAFFE

	choice
		prompt "AWT Engine"
		default KAFFE_AWT_X
		depends on KAFFE_API_SE
		depends on KAFFE

		config KAFFE_AWT_NO
			bool none

		config KAFFE_AWT_X
			bool XFree

		config KAFFE_AWT_QT
			bool QT
	endchoice

	config KAFFE_FEAT_FEEDBACK
		bool
		default n
		prompt "Enable generation of feedback data"
		depends on KAFFE

	config KAFFE_FEAT_JAVAMATH
		bool
		default n
		prompt "Enable pure java java.math.* package"
		depends on KAFFE_API_SE
		depends on KAFFE

	config KAFFE_FEAT_DISABLE_SOUND
		bool
		default n
		prompt "Disable javax.sound support"
		depends on KAFFE_API_SE
		depends on KAFFE

	config KAFFE_FEAT_DISABLE_ALSA
		bool
		default n
		prompt "Don't use ALSA for sound"
		depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND
		depends on KAFFE

	config KAFFE_FEAT_DISABLE_ESD
		bool
		default n
		prompt  "Don't use esd for sound"
		depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND
		depends on KAFFE

	config KAFFE_FEAT_DISABLE_SUNCOMPAT
		bool
		default n
		prompt "Don't include Sun compatibility scripts"
		depends on KAFFE

	config KAFFE_FEAT_CLDC_GMP
		bool
		default n
		prompt "Enable native java/math/BigInteger in CLDC (see help)"
		depends on KAFFE_API_CLDC
		depends on KAFFE
		help
			Note:
			This is not tested!
			Use on your own risk!

	config KAFFE_FEAT_CLDC_COMM
		bool
		default y
		prompt "Enable javax.microedition.io.CommConnection (access to serial ports)"
		depends on KAFFE_API_CLDC
		depends on KAFFE

############################################################################## 
comment	"Linking options"
	depends on KAFFE

	config KAFFE_LINK_VM
		bool
		prompt "Force the creation of a static virtual machine (staticvm)"
		depends on !KAFFE_LINK_LIB && !KAFFE_LINK_BIN
		depends on KAFFE

	config KAFFE_LINK_LIB
		bool
		prompt "Force the use of static libraries rather than shared (staticlib)"
		depends on !KAFFE_LINK_BIN
		depends on KAFFE

	config KAFFE_LINK_GMP
		bool
		prompt "Link libgmp static into kaffe-bin"
		depends on KAFFE_FEAT_CLDC_GMP || \
			KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH
		depends on KAFFE

	config KAFFE_LINK_BIN
		bool
		prompt "Force the creation of a static virtual machine binary (staticbin)"
		depends on KAFFE


	config KAFFE_TARGETINSTALL_GMP
		bool
		default y if KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH || \
			KAFFE_FEAT_CLDC_GMP && !(KAFFE_LINK_GMP || KAFFE_LINK_BIN)
		depends on KAFFE
endmenu
############################################################################## 

menu "System Libraries    "

source rules/gettext.in
source rules/popt.in
source rules/zlib.in

endmenu

############################################################################## 

menu "Graphics Libraries  "

#source rules/gtk22.in
source rules/xfree430.in
source rules/clementine.in

endmenu

############################################################################## 

menu "Web Applications    "

source rules/mfirebird.in
source rules/penguzilla.in

endmenu