after much stagnation, bochs is back. Thanks to angelos@ who got the
networking working, I'm committing this from inside bochs! There are too many changes to mention, not the least of which is two hard drive support, smp (up to 16 cpus), networking, and much, much more ..
This commit is contained in:
parent
a2ecef7e8f
commit
ad169f2454
@ -1,13 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2001/03/26 15:58:18 todd Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2001/05/26 05:52:55 todd Exp $
|
||||
# $NetBSD: Makefile,v 1.2 1998/09/22 06:11:36 garbled Exp $
|
||||
|
||||
COMMENT= "x86 CPU emulator"
|
||||
DISTNAME= bochs-2000_0325a
|
||||
COMMENT= "x86 machine simulator"
|
||||
DISTNAME= bochs-1.2.pre1
|
||||
CATEGORIES= emulators
|
||||
NEED_VERSION= 1.364
|
||||
MASTER_SITES= ftp://ftp.bochs.com/bochs/
|
||||
MASTER_SITES= http://prdownloads.sourceforge.net/bochs/
|
||||
|
||||
HOMEPAGE= http://www.bochs.com/
|
||||
HOMEPAGE= http://bochs.sourceforge.net/
|
||||
|
||||
MAINTAINER= Todd T. Fries <todd@OpenBSD.org>
|
||||
|
||||
@ -20,7 +20,7 @@ CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --enable-vga \
|
||||
--enable-fpu --enable-cdrom
|
||||
|
||||
FLAVORS= debug i386 i486 pci smp net no_x11 term
|
||||
FLAVORS= debug i386 i486 i686 pci smp net no_x11 term
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mdebug}
|
||||
@ -39,6 +39,8 @@ CONFIGURE_ARGS+= --with-x11
|
||||
CONFIGURE_ARGS+= --enable-cpu-level="3"
|
||||
.elif ${FLAVOR:L:Mi486}
|
||||
CONFIGURE_ARGS+= --enable-cpu-level="4"
|
||||
.elif ${FLAVOR:L:Mi686}
|
||||
CONFIGURE_ARGS+= --enable-cpu-leve="6"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-cpu-level="5"
|
||||
.endif
|
||||
@ -48,7 +50,7 @@ CONFIGURE_ARGS+= --enable-pci
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Msmp}
|
||||
CONFIGURE_ARGS+= --enable-num-sim=2
|
||||
CONFIGURE_ARGS+= --enable-processors=2
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mnet}
|
||||
@ -62,18 +64,22 @@ post-configure:
|
||||
@sed -e 's@!!PREFIX!!@${PREFIX}@' \
|
||||
< ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc
|
||||
|
||||
BIOS = BIOS-bochs-4-processors BIOS-bochs-2-processors
|
||||
BIOS += BIOS-bochs-2001_0524 BIOS-bochs-2001_0517
|
||||
BIOS += VGABIOS-elpin-2.40
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/bochs/bios
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/bochs/fonts
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bochs
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/bochs ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/bios/BIOS-bochs-990925a ${PREFIX}/share/bochs/bios
|
||||
${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-2.20 ${PREFIX}/share/bochs/bios
|
||||
cd ${WRKSRC}/bios; ${INSTALL_DATA} ${BIOS} ${PREFIX}/share/bochs/bios
|
||||
${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${PREFIX}/share/doc/bochs
|
||||
${INSTALL_DATA} ${WRKSRC}/docs-html/*.gif ${PREFIX}/share/doc/bochs
|
||||
${INSTALL_DATA} ${WRKSRC}/font/hercules.bdf ${PREFIX}/share/bochs/fonts
|
||||
${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${PREFIX}/share/bochs/fonts
|
||||
${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${PREFIX}/share/bochs/fonts
|
||||
${INSTALL_DATA} ${WRKSRC}/bochsrc ${PREFIX}/share/bochs
|
||||
mkfontdir ${PREFIX}/share/bochs/fonts
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (bochs-2000_0325a.tar.gz) = 6a6fc6794b81c88d71037f17c918a880
|
||||
RMD160 (bochs-2000_0325a.tar.gz) = b06b352868f8d668513a28b1f4f227134a8accd7
|
||||
SHA1 (bochs-2000_0325a.tar.gz) = 9543b12ad448dfcf9804aa0f2d0d5d1440bf90ca
|
||||
MD5 (bochs-1.2.pre1.tar.gz) = f286774c0c68db6b22239bdedfb71862
|
||||
RMD160 (bochs-1.2.pre1.tar.gz) = 2aff80c1db365c297a6269228c4ccb6c66b4364d
|
||||
SHA1 (bochs-1.2.pre1.tar.gz) = 076be58591d59f336eac63a96ec07be64d221b00
|
||||
|
@ -7,6 +7,7 @@ Flavors:
|
||||
debug - build with Bochs' internal debugging support
|
||||
i386 - emulate 386 instruction set
|
||||
i486 - emulate 486 instruction set
|
||||
i686 - emulate 486 instruction set
|
||||
pci - build with support for i440FX PCI chipset
|
||||
smp - build with support for SMP (2 CPUs)
|
||||
net - build with support for NE2000 NIC chipset
|
||||
|
@ -1,22 +1,26 @@
|
||||
@comment $OpenBSD: PLIST,v 1.7 2001/05/26 05:52:56 todd Exp $
|
||||
bin/bochs
|
||||
share/bochs/bios/BIOS-bochs-2-processors
|
||||
share/bochs/bios/BIOS-bochs-2001_0517
|
||||
share/bochs/bios/BIOS-bochs-2001_0524
|
||||
share/bochs/bios/BIOS-bochs-4-processors
|
||||
share/bochs/bios/VGABIOS-elpin-2.40
|
||||
share/bochs/bochsrc
|
||||
share/bochs/bios/BIOS-bochs-990925a
|
||||
share/bochs/bios/VGABIOS-elpin-2.20
|
||||
share/bochs/fonts/fonts.dir
|
||||
share/bochs/fonts/hercules.bdf
|
||||
share/bochs/fonts/vga.bdf
|
||||
share/bochs/fonts/vga.pcf
|
||||
share/doc/bochs/3rdparty.license.html
|
||||
share/doc/bochs/DOS.html
|
||||
share/doc/bochs/Linux.html
|
||||
share/doc/bochs/Minix.html
|
||||
share/doc/bochs/OldWindows95.html
|
||||
share/doc/bochs/Windows31.html
|
||||
share/doc/bochs/Windows95.html
|
||||
share/doc/bochs/changelog.html
|
||||
share/doc/bochs/codingguidelines.html
|
||||
share/doc/bochs/configure.html
|
||||
share/doc/bochs/construction.html
|
||||
share/doc/bochs/cosimulation.html
|
||||
share/doc/bochs/cvs-status.html
|
||||
share/doc/bochs/debugger.html
|
||||
share/doc/bochs/developers.html
|
||||
share/doc/bochs/faq.html
|
||||
@ -27,14 +31,12 @@ share/doc/bochs/index.html
|
||||
share/doc/bochs/install.html
|
||||
share/doc/bochs/instrumentation.html
|
||||
share/doc/bochs/mtools.html
|
||||
share/doc/bochs/smp-simulation.html
|
||||
share/doc/bochs/sound.html
|
||||
share/doc/bochs/undercon.gif
|
||||
share/doc/bochs/whatisbochs.html
|
||||
share/doc/bochs/win32.html
|
||||
@unexec rm -f %D/share/bochs/fonts/vga.pcf* %D/share/bochs/fonts/hercules.pcf*
|
||||
@unexec rm -f %D/share/bochs/fonts/fonts.{alias,dir}
|
||||
@exec /usr/X11R6/bin/mkfontdir %D/share/bochs/fonts
|
||||
@dirrm share/doc/bochs
|
||||
@dirrm share/bochs/fonts
|
||||
@dirrm share/bochs/bios
|
||||
@dirrm share/bochs
|
||||
@dirrm share/doc/bochs
|
||||
|
Loading…
x
Reference in New Issue
Block a user