Subversion Repositories shark

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
#
2
#
3
#
4
 
5
caption "Hartik4 (Lego) version 4.0pre1 - Configuration"
6
 
7
file example2.h
8
EX_BOOL
9
EX_RANGE
10
endfile
11
 
12
#
13
# Menu principale
14
#
15
 
16
menu main
17
title "Example menu"
18
bool "this is a 'bool' entry" EX_BOOL
19
tristate "this is a 'tristate' entry" EX_TRISTATE
20
range "this is a 'range' entry" EX_RANGE 1 50 10
21
choice "this is a choice entry"
22
"first choice" EX_CHOICE_1
23
"second choice" EX_CHOICE_2
24
"third choice" EX_CHOICE_3
25
endchoice
26
separator
27
bool "this is a 'bool' entry associated with a 'switch' entry" EX_BOOL2
28
switch EX_BOOL2
29
case "y"
30
bool "  this bool is visible only when previous bool is 'true'" EX_BOOL3
31
tristate "  another 'tristate' to show" EX_TRI2
32
case "n"
33
bool "  visible when previous bool is 'false'" EX_BOOL4
34
endswitch
35
separator
36
submenu "example of a 'submenu' entry - hartik submenu" hartik
37
endmenu
38
 
39
#
40
# Una menu di prova per HARTIK
41
#
42
 
43
menu hartik
44
title "Main menu"
45
choice "Batch system"
46
"MS-DOS" CONFIG_SYS_MSDOS
47
"Linux" CONFIG_SYS_LINUX
48
endchoice
49
submenu "System" system
50
submenu "Scheduler" scheduler
51
submenu "Drivers" drivers
52
submenu "File system" filesystem
53
endmenu
54
 
55
menu system
56
title "System"
57
choice "Processor"
58
"i386/i486" CONFIG_CPU_I386
59
"pentium/K5" CONFIG_CPU_PENTIUM
60
"pentium II/K6/K6-2" CONFIG_CPU_PENTIUMII
61
endchoice
62
range "Max number of task" CONFIG_MAXTASK 3 10 7
63
endmenu
64
 
65
menu scheduler
66
title "Kernel scheduler"
67
choice "Scheduler"
68
"EDF" CONFIG_SCHED_EDF
69
"RM" CONFIG_SCHED_RM
70
"EDF+Server" CONFIG_SCHED_EDFSERV
71
"EDF+RM+Server" CONFIG_SCHED_EDFRMSERV
72
endchoice
73
endmenu
74
 
75
menu drivers
76
title "Low level drivers"
77
bool "Character device" CONFIG_CHAR
78
switch CONFIG_CHAR
79
case "y"
80
bool "  Keyboard support" CONFIG_CHAR_KEYBOARD "y"
81
bool "  Mouse support" CONFIG_CHAR_MOUSE
82
bool "  RealTime clock (RTC) support" CONFIG_CHAR_RTC
83
bool "  Console support" CONFIG_CHAR_CONSOLE2 "y"
84
endswitch
85
bool "Block device" CONFIG_BLOCK
86
switch CONFIG_BLOCK
87
case "y"
88
bool "  IDE device support" CONFIG_BLOCK_IDE
89
bool "  Loopback support" CONFIG_BLOCK_LOOP
90
endswitch
91
bool "Graphics support" CONFIG_GRAPHICS
92
bool "Networkig" CONFIG_NET
93
switch CONFIG_NET
94
case "y"
95
bool "  3COM cards" CONFIG_NET_3COM
96
endswitch
97
endmenu
98
 
99
menu filesystem
100
title "File system"
101
bool "Filesystem support" CONFIG_FSSUPPORT
102
switch CONFIG_FSSUPPORT
103
case "y"
104
bool "  MS-DOS filesystem" CONFIG_FS_MSDOS
105
bool "  ISO9660 filesystem" CONFIG_FS_ISO9660
106
switch  CONFIG_FS_ISO9660
107
case "y"
108
bool "    Microsoft Joliet support" CONFIG_FS_ISO9960_JOLIET
109
bool "    RockRidge extension" CONFIG_FS_ISO9960_ROCKRIDGE
110
endswitch
111
bool "  DEVFS filesystem" CONFIG_FS_DEVFS
112
endswitch
113
endmenu
114
 
115
 
116
 
117
 
118
 
119
 
120