|
Lines 89-94
Link Here
|
| 89 |
CONFIGURE_ARGS+= --enable-sb16=freebsd |
89 |
CONFIGURE_ARGS+= --enable-sb16=freebsd |
| 90 |
.endif |
90 |
.endif |
| 91 |
|
91 |
|
|
|
92 |
.if defined(WITH_YIELD_CPU) |
| 93 |
CONFIGURE_ARGS+= --enable-idle-hack |
| 94 |
.endif |
| 95 |
|
| 96 |
.if defined(WITH_SLOWDOWN) |
| 97 |
CONFIGURE_ARGS+= --enable-slowdown |
| 98 |
.endif |
| 99 |
|
| 100 |
.if defined(WITH_NEW_PIT) |
| 101 |
CONFIGURE_ARGS+= --enable-new-pit |
| 102 |
.endif |
| 103 |
|
| 92 |
MSG_FILE= ${PKGDIR}/pkg-message |
104 |
MSG_FILE= ${PKGDIR}/pkg-message |
| 93 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
105 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
| 94 |
|
106 |
|
|
Lines 107-157
Link Here
|
| 107 |
@${ECHO_MSG} |
119 |
@${ECHO_MSG} |
| 108 |
.if !defined(WITH_BOCHS_CPU_LEVEL) |
120 |
.if !defined(WITH_BOCHS_CPU_LEVEL) |
| 109 |
@${ECHO_MSG} "If you want to change the processor level to emulate (default is 5, aka Pentium)" |
121 |
@${ECHO_MSG} "If you want to change the processor level to emulate (default is 5, aka Pentium)" |
| 110 |
@${ECHO_MSG} "Choices are 3,4,5,6 which mean target 386, 486, Pentium or Pentium Pro emulation" |
122 |
@${ECHO_MSG} "choices are 3,4,5,6 which mean target 386, 486, Pentium or Pentium Pro emulation" |
| 111 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_CPU_LEVEL=<cpu level>\"" |
123 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_CPU_LEVEL=<cpu level>\"." |
| 112 |
@${ECHO_MSG} |
124 |
@${ECHO_MSG} |
| 113 |
.endif |
125 |
.endif |
| 114 |
.if !defined(WITH_BOCHS_TERM) |
126 |
.if !defined(WITH_BOCHS_TERM) |
| 115 |
@${ECHO_MSG} "If you want to enable the plain text, console-based bochs interface" |
127 |
@${ECHO_MSG} "If you want to enable the plain text, console-based bochs interface," |
| 116 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_GUI_TERM=yes\"" |
128 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_GUI_TERM=yes\"." |
| 117 |
@${ECHO_MSG} |
129 |
@${ECHO_MSG} |
| 118 |
.endif |
130 |
.endif |
| 119 |
.if !defined(WITH_BOCHS_VESA) |
131 |
.if !defined(WITH_BOCHS_VESA) |
| 120 |
@${ECHO_MSG} "If you want to enable the VESA BIOS video extensions of bochs," |
132 |
@${ECHO_MSG} "If you want to enable the VESA BIOS video extensions of bochs," |
| 121 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_VESA=yes\"" |
133 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_VESA=yes\"." |
| 122 |
@${ECHO_MSG} |
134 |
@${ECHO_MSG} |
| 123 |
.else |
135 |
.else |
| 124 |
@${ECHO_MSG} "Remember that with the VESA option you must also use VGABIOS-lgpl-latest" |
136 |
@${ECHO_MSG} "Remember that with the VESA option you must also use VGABIOS-lgpl-latest." |
| 125 |
@${ECHO_MSG} |
137 |
@${ECHO_MSG} |
| 126 |
.endif |
138 |
.endif |
| 127 |
.if !defined(WITH_BOCHS_PROCESSORS) |
139 |
.if !defined(WITH_BOCHS_PROCESSORS) |
| 128 |
@${ECHO_MSG} "If you want to compile with SMP support (implies WITH_BOCHS_CPU_LEVEL=6)." |
140 |
@${ECHO_MSG} "If you want to compile with SMP support (implies WITH_BOCHS_CPU_LEVEL=6)," |
| 129 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_PROCESSORS=<number of processors>\"" |
141 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_PROCESSORS=<number of CPUs>\"." |
| 130 |
@${ECHO_MSG} |
142 |
@${ECHO_MSG} |
| 131 |
.endif |
143 |
.endif |
| 132 |
.if !defined(WITH_BOCHS_DEBUGGER) |
144 |
.if !defined(WITH_BOCHS_DEBUGGER) |
| 133 |
@${ECHO_MSG} "If you want to compile with builtin debugger and disassembler support." |
145 |
@${ECHO_MSG} "If you want to compile with builtin debugger and disassembler support," |
| 134 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_DEBUGGER=yes\"" |
146 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_DEBUGGER=yes\"." |
| 135 |
@${ECHO_MSG} |
147 |
@${ECHO_MSG} |
| 136 |
.endif |
148 |
.endif |
| 137 |
.if !defined(WITH_BOCHS_X86_DEBUGGER) |
149 |
.if !defined(WITH_BOCHS_X86_DEBUGGER) |
| 138 |
@${ECHO_MSG} "If you want to compile with x86 hardware debugger support." |
150 |
@${ECHO_MSG} "If you want to compile with x86 hardware debugger support," |
| 139 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_X86_DEBUGGER=yes\"" |
151 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_X86_DEBUGGER=yes\"." |
| 140 |
@${ECHO_MSG} |
152 |
@${ECHO_MSG} |
| 141 |
.endif |
153 |
.endif |
| 142 |
.if !defined(WITH_BOCHS_AMD64) |
154 |
.if !defined(WITH_BOCHS_AMD64) |
| 143 |
@${ECHO_MSG} "If you want to compile with AMD x86-64 support." |
155 |
@${ECHO_MSG} "If you want to compile with AMD x86-64 support," |
| 144 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_AMD64=yes\"" |
156 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_AMD64=yes\"." |
| 145 |
@${ECHO_MSG} |
157 |
@${ECHO_MSG} |
| 146 |
.endif |
158 |
.endif |
| 147 |
.if !defined(WITH_NE2000) |
159 |
.if !defined(WITH_NE2000) |
| 148 |
@${ECHO_MSG} "If you want to compile with networking (ne2000) support." |
160 |
@${ECHO_MSG} "If you want to compile with networking (ne2000) support," |
| 149 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_NE2000=yes\"" |
161 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_NE2000=yes\"." |
| 150 |
@${ECHO_MSG} |
162 |
@${ECHO_MSG} |
| 151 |
.endif |
163 |
.endif |
| 152 |
.if !defined(WITH_SOUND) |
164 |
.if !defined(WITH_SOUND) |
| 153 |
@${ECHO_MSG} "If you want to compile with sound (blaster 16) support." |
165 |
@${ECHO_MSG} "If you want to compile with sound (blaster 16) support," |
| 154 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SOUND=yes\"" |
166 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SOUND=yes\"." |
|
|
167 |
@${ECHO_MSG} |
| 168 |
.endif |
| 169 |
.if !defined(WITH_YIELD_CPU) |
| 170 |
@${ECHO_MSG} "If you want to compile with a hack that makes bochs yield the CPU when idle," |
| 171 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_YIELD=yes\"." |
| 172 |
@${ECHO_MSG} |
| 173 |
.endif |
| 174 |
.if !defined(WITH_SLOWDOWN) |
| 175 |
@${ECHO_MSG} "Does your guest OS have a screensaver which goes off too soon? Use this." |
| 176 |
@${ECHO_MSG} "If you want to compile with the option to slowdown when the CPU when idle," |
| 177 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SLOWDOWN=yes\"." |
| 178 |
@${ECHO_MSG} |
| 179 |
.endif |
| 180 |
.if !defined(WITH_NEW_PIT) |
| 181 |
@${ECHO_MSG} "PIT attempts to keep the bochs clock and system clock in sync." |
| 182 |
@${ECHO_MSG} "If you want to compile with the improved PIT," |
| 183 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_NEW_PIT=yes\"." |
| 155 |
.endif |
184 |
.endif |
| 156 |
@${ECHO_MSG} |
185 |
@${ECHO_MSG} |