- add build subdirectory for platform-specific stuff
This commit is contained in:
parent
a477f9bbf7
commit
015a541daa
2
bochs/build/linux/README.linux-binary
Normal file
2
bochs/build/linux/README.linux-binary
Normal file
@ -0,0 +1,2 @@
|
||||
Information specific to the Linux binary goes here.
|
||||
------------------------------------------------------
|
36
bochs/build/linux/bochs-dlx
Executable file
36
bochs/build/linux/bochs-dlx
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
BOCHS=/usr/local/bin/bochs
|
||||
DLXPATH=/usr/local/bochs/dlxlinux
|
||||
|
||||
cat <<EOF
|
||||
------------------------------------------------------
|
||||
Starting DLX Linux in the Bochs x86 Emulator
|
||||
------------------------------------------------------
|
||||
EOF
|
||||
|
||||
echo -n "Checking for bochs binary..."
|
||||
if test ! -x $BOCHS; then
|
||||
echo FAILED
|
||||
echo ERROR: I could not find bochs in $BOCHS
|
||||
exit 1
|
||||
fi
|
||||
echo ok
|
||||
echo -n "Checking for DLX linux directory..."
|
||||
if test ! -d $DLXPATH; then
|
||||
echo FAILED
|
||||
echo ERROR: I could not find the DLX linux directory.
|
||||
exit 1
|
||||
fi
|
||||
echo ok
|
||||
echo Entering $DLXPATH
|
||||
cd $DLXPATH
|
||||
|
||||
# ok now try it
|
||||
$BOCHS
|
||||
|
||||
cat <<EOF
|
||||
------------------------------------------------------
|
||||
DLX Linux is finished. Log information is written to
|
||||
$DLXPATH/bochsout.txt.
|
||||
------------------------------------------------------
|
||||
EOF
|
34
bochs/build/linux/bochs-docs
Executable file
34
bochs/build/linux/bochs-docs
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
BROWSER=netscape
|
||||
URL=/usr/local/bochs/1.1.2/DOC-linux.html
|
||||
MY_PATH=/usr/local/bin/bochs-docs
|
||||
|
||||
cat <<EOF
|
||||
-----------------------------------------------------
|
||||
Viewing Bochs HTML documentation with $BROWSER
|
||||
-----------------------------------------------------
|
||||
EOF
|
||||
|
||||
if test "$BROWSER" = netscape; then
|
||||
# first try to put the documentation into the currently running netscape.
|
||||
$BROWSER -remote "openURL($URL)" >/dev/null 2>/dev/null
|
||||
|
||||
# if that succeeded, we're done
|
||||
if test $? = 0; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
# try starting a new browser instead
|
||||
$BROWSER $URL
|
||||
|
||||
# nothing else to try, so if that failed print a decent error message
|
||||
if test $? != 0; then
|
||||
echo ERROR: Browser ended with an error code $?. This may mean that
|
||||
echo the browser was not found in your PATH, or that the browser was
|
||||
echo killed. To use a different browser, edit $MY_PATH
|
||||
echo and change the BROWSER variable.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
79
bochs/build/linux/bochs-uninstall-1.1.2
Executable file
79
bochs/build/linux/bochs-uninstall-1.1.2
Executable file
@ -0,0 +1,79 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# bochs-uninstall
|
||||
# Remove files created by this install package.
|
||||
#
|
||||
|
||||
BP=/usr/local/bochs
|
||||
BINPATH=/usr/local/bin
|
||||
VERSION=1.1.2
|
||||
REMOVEFILES="
|
||||
/usr/local/bochs/1.1.2/BIOS-bochs-990925a
|
||||
/usr/local/bochs/1.1.2/CHANGES.txt
|
||||
/usr/local/bochs/1.1.2/COPYING
|
||||
/usr/local/bochs/1.1.2/README
|
||||
/usr/local/bochs/1.1.2/VGABIOS-elpin-2.40
|
||||
/usr/local/bochs/1.1.2/VGABIOS-elpin-LICENSE
|
||||
/usr/local/bochs/1.1.2/DOC-linux.html
|
||||
/usr/local/bochs/1.1.2/docs-html/00README
|
||||
/usr/local/bochs/1.1.2/docs-html/3rdparty.license.html
|
||||
/usr/local/bochs/1.1.2/docs-html/Linux.html
|
||||
/usr/local/bochs/1.1.2/docs-html/Minix.html
|
||||
/usr/local/bochs/1.1.2/docs-html/OldWindows95.html
|
||||
/usr/local/bochs/1.1.2/docs-html/Windows95.html
|
||||
/usr/local/bochs/1.1.2/docs-html/changelog.html
|
||||
/usr/local/bochs/1.1.2/docs-html/codingguidelines.html
|
||||
/usr/local/bochs/1.1.2/docs-html/configure.html
|
||||
/usr/local/bochs/1.1.2/docs-html/construction.html
|
||||
/usr/local/bochs/1.1.2/docs-html/cosimulation.html
|
||||
/usr/local/bochs/1.1.2/docs-html/cvs-status.html
|
||||
/usr/local/bochs/1.1.2/docs-html/cvs-structure.txt
|
||||
/usr/local/bochs/1.1.2/docs-html/debugger.html
|
||||
/usr/local/bochs/1.1.2/docs-html/developers.html
|
||||
/usr/local/bochs/1.1.2/docs-html/faq.html
|
||||
/usr/local/bochs/1.1.2/docs-html/features.html
|
||||
/usr/local/bochs/1.1.2/docs-html/fpu.html
|
||||
/usr/local/bochs/1.1.2/docs-html/guestNT.html
|
||||
/usr/local/bochs/1.1.2/docs-html/index.html
|
||||
/usr/local/bochs/1.1.2/docs-html/install.html
|
||||
/usr/local/bochs/1.1.2/docs-html/instrumentation.html
|
||||
/usr/local/bochs/1.1.2/docs-html/mtools.html
|
||||
/usr/local/bochs/1.1.2/docs-html/random.txt
|
||||
/usr/local/bochs/1.1.2/docs-html/sound.html
|
||||
/usr/local/bochs/1.1.2/docs-html/undercon.gif
|
||||
/usr/local/bochs/1.1.2/docs-html/whatisbochs.html
|
||||
/usr/local/bochs/1.1.2/docs-html/win32.html
|
||||
/usr/local/bochs/dlxlinux/hd10meg.img
|
||||
/usr/local/bochs/dlxlinux/README
|
||||
/usr/local/bochs/dlxlinux/testform.txt
|
||||
/usr/local/bochs/dlxlinux/.bochsrc
|
||||
/usr/local/bochs/dlxlinux/.README.swp
|
||||
/usr/local/bochs/dlxlinux/bochsout.txt
|
||||
/usr/local/bin/bochs-docs
|
||||
/usr/local/bin/bochs-dlx
|
||||
/usr/local/bin/bochs-1.1.2
|
||||
/usr/local/bin/bochs-uninstall-1.1.2
|
||||
/usr/local/bin/bochs"
|
||||
REMOVEDIRS="
|
||||
/usr/local/bochs/1.1.2/docs-html/
|
||||
/usr/local/bochs/1.1.2/
|
||||
/usr/local/bochs/dlxlinux/
|
||||
/usr/local/bochs/
|
||||
"
|
||||
|
||||
for i in $REMOVEFILES; do
|
||||
echo Removing $i
|
||||
rm -f $i
|
||||
if test $? != 0; then
|
||||
echo Could not remove $i.
|
||||
fi
|
||||
done
|
||||
for i in $REMOVEDIRS; do
|
||||
echo Removing $i
|
||||
rmdir $i
|
||||
if test $? != 0; then
|
||||
echo Could not remove $i, maybe not empty.
|
||||
fi
|
||||
done
|
||||
|
||||
echo Bochs $VERSION has been removed from your system.
|
2
bochs/build/win32/README.win32-binary
Normal file
2
bochs/build/win32/README.win32-binary
Normal file
@ -0,0 +1,2 @@
|
||||
Information specific to the win32 binary goes here.
|
||||
------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user