EttinOS/make.sh

15 lines
238 B
Bash
Executable File

#!/bin/bash
if [ ! -d "build" ];
then
mkdir build
fi
cd src/
nasm boot.asm -f bin -O0 -o ../build/boot.bin
nasm system.asm -f bin -O0 -o ../build/system.bin
cd ../build/
cat boot.bin system.bin > EttinOS.img
rm boot.bin system.bin