blob: 65cb0e568b6b4ec0fd6b2f28da899996f5e0aa5d (
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
|
#
# 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_X86
bool "x86"
help
This is support for the Intel x86 architecture.
endchoice
config ARCH
string
default "arm" if ARCH_ARM
default "i386" if ARCH_X86
choice
prompt "Code Optimization"
default OPT_ARM4
config OPT_I386
bool "386"
depends on ARCH_X86
config OPT_I486
bool "486"
depends on ARCH_X86
config OPT_I686
bool "686"
depends on ARCH_X86
config OPT_ARM4
bool "arm4"
depends on ARCH_ARM
endchoice
config GNU_TARGET
string
default "i386-linux" if OPT_I386
default "i486-linux" if OPT_I486
default "i686-linux" if OPT_I686
default "arm-linux" if OPT_ARM4
choice
prompt "ARM architecture"
depends on ARCH_ARM
config ARM_ARCH_PXA
bool "pxa"
depends on ARCH_ARM
endchoice
config PREFIX
prompt "Install PREFIX"
string
default "/foo/bar/baz"
endmenu
# ----------------------------------------------------------------------------
menu "Cross Toolchain "
config BUILD_CROSSCHAIN
bool
prompt "Build Cross Toolchain"
default y if ARCH_ARM
default n if 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_TMP_DATALINK
bool "Make /tmp a link to /data/tmp"
default y
depends on ROOTFS_TMP
config ROOTFS_HOME
bool
prompt "Create /home"
default y
config ROOTFS_DATA
bool
prompt "Create /data"
default y
config ROOTFS_VAR
bool
prompt "Create /var"
default y
config ROOTFS_VAR_LOG_DATALINK
bool
prompt "Make /var/log a link to /data/log"
default y
depends on ROOTFS_VAR
config ROOTFS_ETC
bool
prompt "Create /etc from $PTXDIST/etc"
default y
config ETC_NAME
prompt "Name of dir in ./etc/ to be used"
string
default "innokom"
depends on ROOTFS_ETC
endmenu
# ----------------------------------------------------------------------------
menu "Debugging Tools "
config KSYMOOPS
bool
prompt "ksymoops"
default n
endmenu
##############################################################################
comment "Core System "
##############################################################################
menu "Kernel "
#source "config/config-kernel.in"
config DONT_COMPILE_KERNEL
bool
prompt "Don't compile kernel"
default n
choice
prompt "Kernel Version"
default KERNEL_2_4_19
config KERNEL_2_4_18
bool
prompt "2.4.18"
config KERNEL_2_4_19
bool
prompt "2.4.19"
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
choice
prompt "Kernel Image"
default KERNEL_IMAGE_BZ
config KERNEL_IMAGE_BZ
bool
prompt "bzImage"
config KERNEL_IMAGE_Z
bool
prompt "zImage"
config KERNEL_IMAGE_U
bool
prompt "uImage"
endchoice
config RTAI
bool
prompt "Realtime Extension: RTAI"
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"
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 "
# menue to chose C library
choice
prompt "Which C library do you want to use?"
default GLIBC
config GLIBC
bool
prompt "GLIBC"
config UCLIBC
bool
prompt "uClibc"
endchoice
choice
prompt "C-Lib Version"
config GLIBC_2_2_5
bool
prompt "2.2.5"
depends on GLIBC
config GLIBC_2_2_4
bool
prompt "2.2.4"
depends on GLIBC
depends on ARCH_X86
config GLIBC_2_2_3
bool
prompt "2.2.3"
depends on GLIBC
depends on ARCH_X86
config UCLIBC_0_9_9
bool
prompt "0.9.9"
depends on UCLIBC
endchoice
config GLIBC_PTHREADS
bool
prompt "Compile glibc with pthreads"
depends on GLIBC
config GLIBC_FLOATINGPOINT
bool
prompt "Enable glibc floating point support"
depends on GLIBC
config GLIBC_LIBIO
bool
prompt "Build in GNU libio instead of GNU stdio"
depends on GLIBC
config GLIBC_SHARED
bool
prompt "Build shared library"
depends on GLIBC
config GLIBC_PROFILED
bool
prompt "Include profiling support"
depends on GLIBC
config GLIBC_OMITFP
bool
prompt "Build undebuggable optimized library"
depends on GLIBC
config GLIBC_BOUNDED
bool
prompt "Build with runtime bounds checking"
depends on GLIBC
config GLIBC_CRYPT
bool
prompt "Install libcrypt on the target"
depends on GLIBC
config GLIBC_UTIL
bool
prompt "Install libutil on the target"
depends on GLIBC
config GLIBC_LIBM
bool
prompt "Install libm on the target"
depends on GLIBC
config GLIBC_NSS_DNS
bool
prompt "Install libnss_dns"
depends on GLIBC
config GLIBC_NSS_FILES
bool
prompt "Install libnss_files"
depends on GLIBC
config GLIBC_NSS_HESIOD
bool
prompt "Install libnss_hesiod"
depends on GLIBC
config GLIBC_NSS_NIS
bool
prompt "Install libnss_nis"
depends on GLIBC
config GLIBC_NSS_NISPLUS
bool
prompt "Install libnss_nisplus"
depends on GLIBC
config GLIBC_NSS_COMPAT
bool
prompt "Install libnss_compat"
depends on GLIBC
config GLIBC_RESOLV
bool
prompt "Install libresolv"
depends on GLIBC
config GLIBC_NSL
bool
prompt "Install libnsl"
depends on GLIBC
config UCLIBC_DEBUG
bool
prompt "Enable debugging"
depends on UCLIBC
config UCLIBC_HAS_MMU
bool
prompt "Target has MMU"
depends on UCLIBC
config UCLIBC_SHADOWPASS
bool
prompt "Enable shadow passwords"
depends on UCLIBC
config UCLIBC_REGEX
bool
prompt "Enable POSIX regular expressions"
depends on UCLIBC
config UCLIBC_RPC
bool
prompt "Enable RPC"
depends on UCLIBC
config UCLIBC_SHARED
bool
prompt "Make shared library"
depends on UCLIBC
endmenu
# ============================================================================
comment "Core Tools"
# ============================================================================
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/sysdeps/linux/Config.in"
endmenu
menu "TinyLogin "
#source "foo/bar/baz"
endmenu
# ----------------------------------------------------------------------------
menu "MTD Tools "
config MTD_UTILS
bool
prompt "Compile MTD Utilities"
config MTD_EINFO
bool
prompt "einfo"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_ERASE
bool
prompt "erase"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_ERASEALL
bool
prompt "eraseall"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_FCP
bool
prompt "fcp"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_FTL_CHECK
bool
prompt "ftl_check"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_FTL_FORMAT
bool
prompt "ftl_format"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_JFFS2READER
bool
prompt "jffs2reader"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_LOCK
bool
prompt "lock"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_MTDDEBUG
bool
prompt "mtd_debug"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_NANDDUMP
bool
prompt "nanddump"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_NANDTEST
bool
prompt "nandtest"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_NANDWRITE
bool
prompt "nandwrite"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_NFTL_FORMAT
bool
prompt "nftl_format"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_NFTLDUMP
bool
prompt "nftldump"
depends on KERNEL_MTD
depends on MTD_UTILS
config MTD_UNLOCK
bool
prompt "unlock"
depends on KERNEL_MTD
depends on MTD_UTILS
endmenu
##############################################################################
comment "Network Tools"
##############################################################################
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 "Network Security "
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 ZLIB
bool
default y if OPENSSH
default n if !OPENSSH
config OPENSSL
bool
depends on ZLIB
default y if OPENSSH
default n if !OPENSSH
config OPENSSH
bool
prompt "OpenSSH"
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
# ----------------------------------------------------------------------------
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 GRUB
bool
prompt "GRUB"
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 PTXFLASH
bool
prompt "Install ptxflash utility"
endmenu
|