A script for generating an iso file and running the emulator
This commit is contained in:
parent
979027102d
commit
7d0fe7e944
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
sysroot/
|
18
toolchain/emul
Executable file
18
toolchain/emul
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
if [ -z ${MITTOS64+x} ]; then
|
||||||
|
echo -en "\033[31mWarning: \033[0m"
|
||||||
|
echo "It seems you are trying to build mittos64 in an unsuported environment."
|
||||||
|
echo "This makefile is designed to run inside a mittos64-specific docker container."
|
||||||
|
echo "If you know what you're doing, define the environment variable "MITTOS64""
|
||||||
|
echo "See README.md for more information"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
sysroot=/opt/sysroot
|
||||||
|
iso=/opt/mittos64.iso
|
||||||
|
|
||||||
|
mkdir -p ${sysroot}
|
||||||
|
|
||||||
|
grub-mkrescue -o ${iso} ${sysroot}
|
||||||
|
qemu-system-x86_64 -cdrom ${iso} -curses
|
Loading…
x
Reference in New Issue
Block a user