summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-29 18:13:28 +0000
committerpav <pav@FreeBSD.org>2004-07-29 18:13:28 +0000
commit07aed42343496fef9cb8917fc8c447bdce28c2b5 (patch)
treeb3a21d34bcc946113c34f09feb4632fcc8333064 /emulators
parentbd58c3bafa33696194d61fa67d15d9c36904444a (diff)
downloadFreeBSD-ports-07aed42343496fef9cb8917fc8c447bdce28c2b5.zip
FreeBSD-ports-07aed42343496fef9cb8917fc8c447bdce28c2b5.tar.gz
- Fix WITH_BOCHS_GUI_TERM to work as documented
- Add new knob WITH_BOCHS_GUI_NOGUI PR: ports/69736 Submitted by: Dryice Liu <dryice@liu.com.cn>
Diffstat (limited to 'emulators')
-rw-r--r--emulators/bochs/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 0ea3854..c76123e 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -57,10 +57,14 @@ CONFIGURE_ARGS+= --disable-mmx
.endif
.endif
-.if defined(WITH_BOCHS_TERM)
+.if defined(WITH_BOCHS_GUI_TERM)
CONFIGURE_ARGS+= --with-term
.endif
+.if defined(WITH_BOCHS_GUI_NOGUI)
+CONFIGURE_ARGS+= --with-nogui
+.endif
+
.if defined(WITH_BOCHS_AMD64)
CONFIGURE_ARGS+= --enable-x86-64
.endif
@@ -84,11 +88,16 @@ pre-patch::
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_CPU_LEVEL=<cpu level>\""
@${ECHO_MSG}
.endif
-.if !defined(WITH_BOCHS_TERM)
+.if !defined(WITH_BOCHS_GUI_TERM)
@${ECHO_MSG} "If you want to enable the plain text, console-based bochs interface"
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_GUI_TERM=yes\""
@${ECHO_MSG}
.endif
+.if !defined(WITH_BOCHS_GUI_NOGUI)
+ @${ECHO_MSG} "If you want the bochs display"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_GUI_NOGUI=yes\""
+ @${ECHO_MSG}
+.endif
.if !defined(WITH_BOCHS_PROCESSORS)
@${ECHO_MSG} "If you want to compile with SMP support (implies WITH_BOCHS_CPU_LEVEL=6),"
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_PROCESSORS=<number of processors>\""
OpenPOWER on IntegriCloud