fixed mac os build script to include installation of xorriso
@@ -6,8 +6,7 @@ set -e
#### Check if `brew` is installed
-#command -v brew >/dev/null 2>&1 || { echo >&2 "Missing homebrew (\`brew\`). Install it from http://brew.sh/."; exit 1; }
-#
+command -v brew >/dev/null 2>&1 || { echo >&2 "Missing homebrew (\`brew\`). Install it from http://brew.sh/."; exit 1; }
# brew install wget gettext git pkg-config gmp mpfr libmpc autoconf automake nasm xorriso mtools qemu
#brew link --force gettext
#### force re-fetch our own gcc cross compilers tap recipe
@@ -16,10 +15,12 @@ set -e
#brew install x86_64-elf-binutils x86_64-elf-gcc
-### Using mac ports instead of homebrew
+### Using mac ports instead of our own x86_64-elf-gcc homebrew tap recipe
which port || { echo >&2 "Missing installation of MacPorts (\`port\`)."; exit 1; }
sudo port install gmake wget coreutils findutils nasm pkgconfig x86_64-elf-gcc
sudo ln -s /opt/local/bin/gmake /opt/local/bin/make
+### Macports doesn't have xorriso
+brew install xorriso
export SRC_DIR="$HOME/theseus_tools_src"
export PREFIX="$HOME/theseus_tools_opt/"
